diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 19:46:17 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 19:46:17 +0000 |
commit | 0f3c97f0852fcdd43011cd3550449e5ab6037e66 (patch) | |
tree | e87dc2c6715a4931951275f19c559f993428714c /src/common | |
parent | fca8c29c0775ff371526ad9d4cf58d541bd7abb6 (diff) | |
download | hercules-0f3c97f0852fcdd43011cd3550449e5ab6037e66.tar.gz hercules-0f3c97f0852fcdd43011cd3550449e5ab6037e66.tar.bz2 hercules-0f3c97f0852fcdd43011cd3550449e5ab6037e66.tar.xz hercules-0f3c97f0852fcdd43011cd3550449e5ab6037e66.zip |
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
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/timer.c | 7 | ||||
-rw-r--r-- | src/common/timer.h | 1 |
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); |