summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/timer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index 7184beec5..243b12e7d 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -18,6 +18,8 @@
#define DIFF_TICK(a,b) ((int)((a)-(b)))
+#define INVALID_TIMER -1
+
// Struct declaration
typedef int (*TimerFunc)(int,unsigned int,int,int);
@@ -38,7 +40,7 @@ unsigned int gettick_nocache(void);
unsigned int gettick(void);
int add_timer(unsigned int,TimerFunc f,int,int);
-int add_timer_interval(unsigned int,TimerFunc f,int,int,int);
+int add_timer_interval(unsigned int tick, TimerFunc func, int id, int data, int interval);
int delete_timer(int,TimerFunc f);
int addtick_timer(int tid,unsigned int tick);