summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-07-14 22:29:40 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-07-14 22:29:40 (GMT)
commita154628e709f5ac3591266ecef7be763826c6add (patch)
treedcdb62941c38553599571ba95412dd5013aec72c /programs/lz4cli.c
parentfbe14d128e881abb12aaf55d5ff31be0066b69ad (diff)
downloadlz4-a154628e709f5ac3591266ecef7be763826c6add.zip
lz4-a154628e709f5ac3591266ecef7be763826c6add.tar.gz
lz4-a154628e709f5ac3591266ecef7be763826c6add.tar.bz2
Makefile : added -Wstrict-prototype, as suggested by Larry Doolittle
Diffstat (limited to 'programs/lz4cli.c')
-rw-r--r--programs/lz4cli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index e6e6740..e9b7506 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -175,7 +175,7 @@ int LZ4IO_compressFilename_Legacy(char* input_filename, char* output_filename, i
//****************************
// Functions
//****************************
-int usage()
+int usage(void)
{
DISPLAY( "Usage :\n");
DISPLAY( " %s [arg] [input] [output]\n", programName);
@@ -192,7 +192,7 @@ int usage()
return 0;
}
-int usage_advanced()
+int usage_advanced(void)
{
DISPLAY(WELCOME_MESSAGE);
usage();
@@ -223,7 +223,7 @@ int usage_advanced()
return 0;
}
-int usage_longhelp()
+int usage_longhelp(void)
{
DISPLAY( "\n");
DISPLAY( "Which values can get [output] ? \n");
@@ -273,7 +273,7 @@ int usage_longhelp()
return 0;
}
-int badusage()
+int badusage(void)
{
DISPLAYLEVEL(1, "Incorrect parameters\n");
if (displayLevel >= 1) usage();
@@ -281,7 +281,7 @@ int badusage()
}
-void waitEnter()
+void waitEnter(void)
{
DISPLAY("Press enter to continue...\n");
getchar();