summaryrefslogtreecommitdiffstats
path: root/programs/bench.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-10 15:57:42 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-10 15:57:42 (GMT)
commitceec6fa8492a5ff0ed163c96516716a3c2b09461 (patch)
tree2e478ef1c6960cb419760761e432471f115522c5 /programs/bench.h
parent6b0c39b839b8343da195252a8c46e6d93138f3b8 (diff)
downloadlz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.zip
lz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.tar.gz
lz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.tar.bz2
g++ compatibility
Diffstat (limited to 'programs/bench.h')
-rw-r--r--programs/bench.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/programs/bench.h b/programs/bench.h
index 2a20cdb..3231727 100644
--- a/programs/bench.h
+++ b/programs/bench.h
@@ -22,21 +22,12 @@
*/
#pragma once
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
/* Main function */
-int BMK_benchFile(const char** fileNamesTable, int nbFiles, int cLevel);
+int BMK_benchFiles(const char** fileNamesTable, int nbFiles, int cLevel);
/* Set Parameters */
-void BMK_SetBlocksize(int bsize);
-void BMK_SetNbIterations(int nbLoops);
-void BMK_SetPause(void);
-
-
+void BMK_setBlocksize(int bsize);
+void BMK_setNbIterations(int nbLoops);
+void BMK_setPause(void);
-#if defined (__cplusplus)
-}
-#endif