fix missing function argument to get_intel_cycles()

This commit is contained in:
toddouska
2015-01-26 16:49:28 -08:00
parent a682d53f67
commit d6d56c8532

View File

@ -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__ (