From 8d597d62d5455f5d315782048b9d32f129a60bac Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 10 Aug 2017 10:28:52 -0700 Subject: fixed gcc prototype warning --- doc/lz4_manual.html | 4 ---- lib/lz4frame.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/lz4_manual.html b/doc/lz4_manual.html index ecc985d..9ab1984 100644 --- a/doc/lz4_manual.html +++ b/doc/lz4_manual.html @@ -321,9 +321,5 @@ union LZ4_streamDecode_u { Otherwise, it's also possible to define LZ4_DISABLE_DEPRECATE_WARNINGS


-

Experimental API section

#ifdef LZ4_HC_STATIC_LINKING_ONLY
-#ifndef LZ4_SLO_299387928743
-#define LZ4_SLO_299387928743
-

diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 307d7b2..ccacb89 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -177,7 +177,7 @@ typedef struct { unsigned reserved[4]; /* must be zero for forward compatibility */ } LZ4F_preferences_t; -LZ4FLIB_API int LZ4F_compressionLevel_max(); +LZ4FLIB_API int LZ4F_compressionLevel_max(void); /*-********************************* -- cgit v0.12