aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 02:57:20 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit08e01f35f747bfe30a40ea99cbcd63ad7fb94e7e (patch)
treea727faeb3ffb38d523b0700a63e6e537d295a152 /modules/benchmark
parent4c249cfdc742d162fdb384fba61236cada3d9f29 (diff)
FIX GCC Warnings
Diffstat (limited to 'modules/benchmark')
-rw-r--r--modules/benchmark/cryptohash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/benchmark/cryptohash.c b/modules/benchmark/cryptohash.c
index add7ca03..32fcfd57 100644
--- a/modules/benchmark/cryptohash.c
+++ b/modules/benchmark/cryptohash.c
@@ -29,7 +29,7 @@
/* 5000*65536/(1024*1024) = 312.5 -- old version used 312.0 so results
* don't exactly compare. */
-void inline md5_step(char *data, glong srclen)
+inline void md5_step(char *data, glong srclen)
{
struct MD5Context ctx;
guchar checksum[16];
@@ -39,7 +39,7 @@ void inline md5_step(char *data, glong srclen)
MD5Final(checksum, &ctx);
}
-void inline sha1_step(char *data, glong srclen)
+inline void sha1_step(char *data, glong srclen)
{
SHA1_CTX ctx;
guchar checksum[20];