changed error_public.h into zstd_errors.h

This commit is contained in:
Yann Collet
2016-10-11 16:41:09 -07:00
parent 564b94183c
commit a17fd7312a
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ extern "C" {
* Dependencies * Dependencies
******************************************/ ******************************************/
#include <stddef.h> /* size_t */ #include <stddef.h> /* size_t */
#include "error_public.h" /* enum list */ #include "zstd_errors.h" /* enum list */
/* **************************************** /* ****************************************
@@ -7,8 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#ifndef ERROR_PUBLIC_H_MODULE #ifndef ZSTD_ERRORS_H_398273423
#define ERROR_PUBLIC_H_MODULE #define ZSTD_ERRORS_H_398273423
#if defined (__cplusplus) #if defined (__cplusplus)
extern "C" { extern "C" {
@@ -56,4 +56,4 @@ const char* ZSTD_getErrorString(ZSTD_ErrorCode code);
} }
#endif #endif
#endif /* ERROR_PUBLIC_H_MODULE */ #endif /* ZSTD_ERRORS_H_398273423 */
+1 -1
View File
@@ -27,7 +27,7 @@
#include <time.h> /* clock_t */ #include <time.h> /* clock_t */
#define ZSTD_STATIC_LINKING_ONLY /* ZSTD_compressContinue, ZSTD_compressBlock */ #define ZSTD_STATIC_LINKING_ONLY /* ZSTD_compressContinue, ZSTD_compressBlock */
#include "zstd.h" /* ZSTD_VERSION_STRING */ #include "zstd.h" /* ZSTD_VERSION_STRING */
#include "error_public.h" /* ZSTD_getErrorCode */ #include "zstd_errors.h" /* ZSTD_getErrorCode */
#include "zdict.h" /* ZDICT_trainFromBuffer */ #include "zdict.h" /* ZDICT_trainFromBuffer */
#include "datagen.h" /* RDG_genBuffer */ #include "datagen.h" /* RDG_genBuffer */
#include "mem.h" #include "mem.h"