diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2020-07-28 17:44:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 17:44:25 -0700 |
commit | f4054274faa24f15efedc7431fcb6914d1826220 (patch) | |
tree | 4fe2b09a5d4d934da6220777bcc343b40443a30f /lib/lz4.c | |
parent | 48f9ecfb3436877b014d22280d36e7644f867140 (diff) | |
parent | 12001d6c1ac08e188587d67d888aa008b2e1ceba (diff) | |
download | lz4-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |