summaryrefslogtreecommitdiff
path: root/src/common/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timer.c')
-rw-r--r--src/common/timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index a24e2da8f..996ec98a8 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -114,6 +114,9 @@ char* search_timer_func_list(TimerFunc func)
#if defined(TICK_CACHE) && TICK_CACHE > 1
//////////////////////////////////////////////////////////////////////////
// tick is cached for TICK_CACHE calls
+static unsigned int gettick_cache;
+static int gettick_count;
+
unsigned int gettick_nocache(void)
{
#ifdef WIN32