summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorJohn Zhuge <jzhuge@cloudera.com>2016-03-30 23:33:17 (GMT)
committerJohn Zhuge <jzhuge@cloudera.com>2016-04-01 14:07:25 (GMT)
commitcf6652f9b91593b5d48588e4ed8105669375f110 (patch)
treee2bed7b09b33f71424566a2a0b585e2ad39c5057 /lib/lz4.c
parent60ba8638cdd255eef787a222374bb8b11779e970 (diff)
downloadlz4-cf6652f9b91593b5d48588e4ed8105669375f110.zip
lz4-cf6652f9b91593b5d48588e4ed8105669375f110.tar.gz
lz4-cf6652f9b91593b5d48588e4ed8105669375f110.tar.bz2
lz4cli: print library version
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index 8512452..39bf5d6 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -414,6 +414,7 @@ typedef enum { full = 0, partial = 1 } earlyEnd_directive;
* Local Utils
**************************************/
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; }