From d6d56c85326a0ca97cf68ec0e07fbd2ad77bef2c Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 26 Jan 2015 16:49:28 -0800 Subject: [PATCH] fix missing function argument to get_intel_cycles() --- wolfcrypt/benchmark/benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 33fd1bd45..aadbfced8 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -72,7 +72,7 @@ #if defined(__GNUC__) && defined(__x86_64__) && !defined(NO_ASM) #define HAVE_GET_CYCLES - static INLINE word64 get_intel_cycles(); + static INLINE word64 get_intel_cycles(void); static word64 total_cycles; #define BEGIN_INTEL_CYCLES total_cycles = get_intel_cycles(); #define END_INTEL_CYCLES total_cycles = get_intel_cycles() - total_cycles; @@ -1682,7 +1682,7 @@ void bench_eccKeyAgree(void) #ifdef HAVE_GET_CYCLES -static INLINE word64 get_intel_cycles() +static INLINE word64 get_intel_cycles(void) { unsigned int lo_c, hi_c; __asm__ __volatile__ (