summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-03-13 19:42:03 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-03-13 19:42:03 (GMT)
commit146e67653171b9b43322e2ab3d8be7b085b03bf7 (patch)
tree908d21672a68851fb7c6229282ba6bbd90932664 /lib/lz4.c
parentc4aef7cd62cff0b71464dc58f40efc284bcb5a7b (diff)
downloadlz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.zip
lz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.tar.gz
lz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.tar.bz2
Restore LZ4_sizeofStreamState, We Didn't Actually Need to Delete It
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index f86d3ae..48cdad1 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1703,6 +1703,9 @@ They are only provided here for compatibility with older user programs.
int LZ4_uncompress (const char* source, char* dest, int outputSize) { return LZ4_decompress_fast(source, dest, outputSize); }
int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize) { return LZ4_decompress_safe(source, dest, isize, maxOutputSize); }
+/* Obsolete Streaming functions */
+
+int LZ4_sizeofStreamState() { return LZ4_STREAMSIZE; }
/* Obsolete streaming decompression functions */