summaryrefslogtreecommitdiffstats
path: root/programs/bench.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/bench.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/bench.c')
-rw-r--r--programs/bench.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/bench.c b/programs/bench.c
index 8d68098..6af86ac 100644
--- a/programs/bench.c
+++ b/programs/bench.c
@@ -32,7 +32,7 @@
// Unix Large Files support (>4GB)
#define _FILE_OFFSET_BITS 64
#if (defined(__sun__) && (!defined(__LP64__))) // Sun Solaris 32-bits requires specific definitions
-# define _LARGEFILE_SOURCE
+# define _LARGEFILE_SOURCE
#elif ! defined(__LP64__) // No point defining Large file for 64 bit
# define _LARGEFILE64_SOURCE
#endif
@@ -155,7 +155,7 @@ void BMK_SetNbIterations(int nbLoops)
DISPLAY("- %i iterations -\n", nbIterations);
}
-void BMK_SetPause() { BMK_pause = 1; }
+void BMK_SetPause(void) { BMK_pause = 1; }
//*********************************************************
@@ -178,7 +178,7 @@ static int BMK_GetMilliStart()
#else
-static int BMK_GetMilliStart()
+static int BMK_GetMilliStart(void)
{
// Based on newer gettimeofday()
// Use GetMilliSpan to correct for rollover