From c198ca05d904f61f655cf7adbe2f361098e653ac Mon Sep 17 00:00:00 2001 From: Zijie He Date: Tue, 22 Mar 2016 09:50:32 -0700 Subject: [PATCH] Revert last change to add util.getsec(), util.gettime() is enough. --- ffi/util.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ffi/util.lua b/ffi/util.lua index 1144bcc7a..42dcb28ab 100644 --- a/ffi/util.lua +++ b/ffi/util.lua @@ -376,10 +376,4 @@ function util.unichar (value) end end --- Returns current time in seconds -function util.getsec() - local now = { util.gettime() } - return now[1] -end - return util