summaryrefslogtreecommitdiffstats
path: root/osdep/timer-darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/timer-darwin.c')
-rw-r--r--osdep/timer-darwin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c
index 64edfe7ef6..a6e5a987d1 100644
--- a/osdep/timer-darwin.c
+++ b/osdep/timer-darwin.c
@@ -51,19 +51,19 @@ int usec_sleep(int usec_delay)
/* current time in microseconds */
-unsigned int GetTimer()
+unsigned int GetTimer(void)
{
return (unsigned int)(uint64_t)(mach_absolute_time() * timebase_ratio * 1e6);
}
/* current time in milliseconds */
-unsigned int GetTimerMS()
+unsigned int GetTimerMS(void)
{
return (unsigned int)(uint64_t)(mach_absolute_time() * timebase_ratio * 1e3);
}
/* initialize timer, must be called at least once at start */
-void InitTimer()
+void InitTimer(void)
{
struct mach_timebase_info timebase;