From a17fd7312af6517b0bc63d339c106761b258f628 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 11 Oct 2016 16:41:09 -0700 Subject: [PATCH] changed error_public.h into zstd_errors.h --- lib/common/error_private.h | 2 +- lib/common/{error_public.h => zstd_errors.h} | 6 +++--- tests/fuzzer.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename lib/common/{error_public.h => zstd_errors.h} (94%) diff --git a/lib/common/error_private.h b/lib/common/error_private.h index d27e15af8..3e99b87e7 100644 --- a/lib/common/error_private.h +++ b/lib/common/error_private.h @@ -21,7 +21,7 @@ extern "C" { * Dependencies ******************************************/ #include /* size_t */ -#include "error_public.h" /* enum list */ +#include "zstd_errors.h" /* enum list */ /* **************************************** diff --git a/lib/common/error_public.h b/lib/common/zstd_errors.h similarity index 94% rename from lib/common/error_public.h rename to lib/common/zstd_errors.h index d46abd2c7..9335eaab0 100644 --- a/lib/common/error_public.h +++ b/lib/common/zstd_errors.h @@ -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 */ diff --git a/tests/fuzzer.c b/tests/fuzzer.c index ae8450e40..22f034d13 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -27,7 +27,7 @@ #include /* 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"