summaryrefslogtreecommitdiff
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2020-07-28 17:44:25 -0700
committerGitHub <noreply@github.com>2020-07-28 17:44:25 -0700
commitf4054274faa24f15efedc7431fcb6914d1826220 (patch)
tree4fe2b09a5d4d934da6220777bcc343b40443a30f /lib/lz4.c
parent48f9ecfb3436877b014d22280d36e7644f867140 (diff)
parent12001d6c1ac08e188587d67d888aa008b2e1ceba (diff)
downloadlz4-f4054274faa24f15efedc7431fcb6914d1826220.tar.gz
lz4-f4054274faa24f15efedc7431fcb6914d1826220.tar.bz2
lz4-f4054274faa24f15efedc7431fcb6914d1826220.zip
Merge pull request #860 from adeason/old-style-definitions
Avoid old-style function definitions
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index fa125a1..59c6d4b 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -609,7 +609,7 @@ typedef enum { noDictIssue = 0, dictSmall } dictIssue_directive;
int LZ4_versionNumber (void) { return LZ4_VERSION_NUMBER; }
const char* LZ4_versionString(void) { return LZ4_VERSION_STRING; }
int LZ4_compressBound(int isize) { return LZ4_COMPRESSBOUND(isize); }
-int LZ4_sizeofState() { return LZ4_STREAMSIZE; }
+int LZ4_sizeofState(void) { return LZ4_STREAMSIZE; }
/*-************************************
@@ -2378,7 +2378,7 @@ int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize,
/* Obsolete Streaming functions */
-int LZ4_sizeofStreamState() { return LZ4_STREAMSIZE; }
+int LZ4_sizeofStreamState(void) { return LZ4_STREAMSIZE; }
int LZ4_resetStreamState(void* state, char* inputBuffer)
{