aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 95ec7395..d4ec884c 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.31 2010/07/02 12:01:53 roberto Exp roberto $ 2** $Id: loslib.c,v 1.32 2010/10/05 12:18:03 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -182,7 +182,7 @@ static const char *checkoption (lua_State *L, const char *conv, char *buff) {
182 return conv; /* to avoid warnings */ 182 return conv; /* to avoid warnings */
183} 183}
184 184
185 185
186static int os_date (lua_State *L) { 186static int os_date (lua_State *L) {
187 const char *s = luaL_optstring(L, 1, "%c"); 187 const char *s = luaL_optstring(L, 1, "%c");
188 time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); 188 time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL));