summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/timer.c7
-rw-r--r--src/common/timer.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index 183daad30..b76a82da6 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -42,13 +42,6 @@ static int* timer_heap = NULL;
// server startup time
time_t start_time;
-unsigned int calc_times(void)
-{
- time_t temp = time(NULL);
-
- return (unsigned int)mktime(localtime(&temp));
-}
-
/*----------------------------
* Timer debugging
*----------------------------*/
diff --git a/src/common/timer.h b/src/common/timer.h
index 7a3dba4a8..28a792f88 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -49,7 +49,6 @@ int settick_timer(int tid, unsigned int tick);
int add_timer_func_list(TimerFunc func, char* name);
unsigned long get_uptime(void);
-unsigned int calc_times(void);
int do_timer(unsigned int tick);
void timer_init(void);