summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2019-04-04 20:42:58 (GMT)
committerGitHub <noreply@github.com>2019-04-04 20:42:58 (GMT)
commitf66abc45d9b9671b889acb1e5a2506228f85548c (patch)
tree84216dd40a46c7d5728827ceaec64130022654e5 /tests
parent1a41b2b25ca220f560b07c6fc25dae7415273f6e (diff)
parent7a39fb8fb69a47486b91810708bbe796331b26a2 (diff)
downloadlz4-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.c1
-rw-r--r--tests/fuzzer.c4
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