From 551509cabf1f722938a7ff89cecb874e136ee9c2 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Tue, 28 May 2013 17:18:22 +0430 Subject: [PATCH] time: use time syscall instead --- time.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 time.c diff --git a/time.c b/time.c deleted file mode 100644 index 2c5d5e9..0000000 --- a/time.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include -#include - -time_t time(time_t *t) -{ - struct timeval tv; - gettimeofday(&tv, NULL); - if (t) - *t = tv.tv_sec; - return tv.tv_sec; -} -- 2.11.4.GIT