diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2019-04-04 20:42:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-04 20:42:58 (GMT) |
commit | f66abc45d9b9671b889acb1e5a2506228f85548c (patch) | |
tree | 84216dd40a46c7d5728827ceaec64130022654e5 /tests | |
parent | 1a41b2b25ca220f560b07c6fc25dae7415273f6e (diff) | |
parent | 7a39fb8fb69a47486b91810708bbe796331b26a2 (diff) | |
download | lz4-f66abc45d9b9671b889acb1e5a2506228f85548c.zip lz4-f66abc45d9b9671b889acb1e5a2506228f85548c.tar.gz lz4-f66abc45d9b9671b889acb1e5a2506228f85548c.tar.bz2 |
Merge pull request #658 from lz4/_fast
Deprecated LZ4_decompres_fast*() functions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fullbench.c | 1 | ||||
-rw-r--r-- | tests/fuzzer.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/fullbench.c b/tests/fullbench.c index 4b4e921..e08947d 100644 --- a/tests/fullbench.c +++ b/tests/fullbench.c @@ -42,6 +42,7 @@ #include <string.h> /* strcmp */ #include <time.h> /* clock_t, clock(), CLOCKS_PER_SEC */ +#define LZ4_DISABLE_DEPRECATE_WARNINGS /* LZ4_decompress_fast */ #include "lz4.h" #include "lz4hc.h" #include "lz4frame.h" diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 893ffc1..69c763b 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -32,8 +32,6 @@ # pragma warning(disable : 4310) /* disable: C4310: constant char value > 127 */ #endif -#define LZ4_DISABLE_DEPRECATE_WARNINGS - /*-************************************ * Dependencies @@ -53,7 +51,9 @@ # include <sys/mman.h> /* mmap */ #endif +#define LZ4_DISABLE_DEPRECATE_WARNINGS /* LZ4_decompress_fast */ #define LZ4_STATIC_LINKING_ONLY +#include "lz4.h" #define LZ4_HC_STATIC_LINKING_ONLY #include "lz4hc.h" #define XXH_STATIC_LINKING_ONLY |