summaryrefslogtreecommitdiffstats
path: root/examples/printVersion.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/printVersion.c')
-rw-r--r--examples/printVersion.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/printVersion.c b/examples/printVersion.c
index f86e469..8607139 100644
--- a/examples/printVersion.c
+++ b/examples/printVersion.c
@@ -1,8 +1,13 @@
+// LZ4 trivial example : print Library version number
+// Copyright : Takayuki Matsuoka & Yann Collet
+
+
#include <stdio.h>
#include "lz4.h"
int main(int argc, char** argv)
{
- printf("Hello, LZ4 (version = %d)\n", LZ4_versionNumber());
+ (void)argc; (void)argv;
+ printf("Hello World ! LZ4 Library version = %d\n", LZ4_versionNumber());
return 0;
}