]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
changed error_public.h into zstd_errors.h
authorYann Collet <cyan@fb.com>
Tue, 11 Oct 2016 23:41:09 +0000 (16:41 -0700)
committerYann Collet <cyan@fb.com>
Tue, 11 Oct 2016 23:41:09 +0000 (16:41 -0700)
lib/common/error_private.h
lib/common/zstd_errors.h [moved from lib/common/error_public.h with 94% similarity]
tests/fuzzer.c

index d27e15af8b426ea52aac45b954c5a2d5908598a9..3e99b87e7f00662a87065036376cec423f7743de 100644 (file)
@@ -21,7 +21,7 @@ extern "C" {
 *  Dependencies
 ******************************************/
 #include <stddef.h>        /* size_t */
-#include "error_public.h"  /* enum list */
+#include "zstd_errors.h"  /* enum list */
 
 
 /* ****************************************
similarity index 94%
rename from lib/common/error_public.h
rename to lib/common/zstd_errors.h
index d46abd2c7205b8096c1eaaf6ec862ccbab616a39..9335eaab0eb60d4046e0045bfef0f3f44d610a88 100644 (file)
@@ -7,8 +7,8 @@
  * of patent rights can be found in the PATENTS file in the same directory.
  */
 
-#ifndef ERROR_PUBLIC_H_MODULE
-#define ERROR_PUBLIC_H_MODULE
+#ifndef ZSTD_ERRORS_H_398273423
+#define ZSTD_ERRORS_H_398273423
 
 #if defined (__cplusplus)
 extern "C" {
@@ -56,4 +56,4 @@ const char* ZSTD_getErrorString(ZSTD_ErrorCode code);
 }
 #endif
 
-#endif /* ERROR_PUBLIC_H_MODULE */
+#endif /* ZSTD_ERRORS_H_398273423 */
index ae8450e402f3805ae448f85fa2732738051b0364..22f034d1385403ba10ce1eab9c917cf58f41ccdf 100644 (file)
@@ -27,7 +27,7 @@
 #include <time.h>         /* clock_t */
 #define ZSTD_STATIC_LINKING_ONLY   /* ZSTD_compressContinue, ZSTD_compressBlock */
 #include "zstd.h"         /* ZSTD_VERSION_STRING */
-#include "error_public.h" /* ZSTD_getErrorCode */
+#include "zstd_errors.h" /* ZSTD_getErrorCode */
 #include "zdict.h"        /* ZDICT_trainFromBuffer */
 #include "datagen.h"      /* RDG_genBuffer */
 #include "mem.h"