summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-08-10 17:28:52 (GMT)
committerYann Collet <cyan@fb.com>2017-08-10 17:28:52 (GMT)
commit8d597d62d5455f5d315782048b9d32f129a60bac (patch)
tree87b4ed769fc0fd1a291f81ea0d6bbcd77b4a3dde
parentd8aafe2c52b4b16da9e8d289ad9bdb04b0bc4a05 (diff)
downloadlz4-8d597d62d5455f5d315782048b9d32f129a60bac.zip
lz4-8d597d62d5455f5d315782048b9d32f129a60bac.tar.gz
lz4-8d597d62d5455f5d315782048b9d32f129a60bac.tar.bz2
fixed gcc prototype warning
-rw-r--r--doc/lz4_manual.html4
-rw-r--r--lib/lz4frame.h2
2 files changed, 1 insertions, 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
</p></pre><BR>
-<h3>Experimental API section</h3><pre></pre><b><pre>#ifdef LZ4_HC_STATIC_LINKING_ONLY
-#ifndef LZ4_SLO_299387928743
-#define LZ4_SLO_299387928743
-</pre></b><BR>
</html>
</body>
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);
/*-*********************************