From 0f3c97f0852fcdd43011cd3550449e5ab6037e66 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 27 Apr 2008 19:46:17 +0000 Subject: Removed the calc_times() no-op (bugreport:1289) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12668 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/timer.c | 7 ------- src/common/timer.h | 1 - 2 files changed, 8 deletions(-) (limited to 'src/common') 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); -- cgit v1.2.3-60-g2f50