diff options
-rw-r--r-- | lem.c | 6 | ||||
-rw-r--r-- | lem.h | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -69,7 +69,7 @@ static lua_State *L; static struct lem_runqueue rq; static -void oom() +void oom(void) { static const char e[] = "Out of memory\n"; @@ -93,7 +93,7 @@ lem_xmalloc(size_t size) } static int -ignore_sigpipe() +ignore_sigpipe(void) { struct sigaction act; @@ -115,7 +115,7 @@ ignore_sigpipe() } lua_State * -lem_newthread() +lem_newthread(void) { lua_State *T = lua_newthread(L); @@ -30,7 +30,7 @@ extern struct ev_loop *lem_loop; #endif void *lem_xmalloc(size_t size); -lua_State *lem_newthread(); +lua_State *lem_newthread(void); void lem_forgetthread(lua_State *T); void lem_sethandler(lua_State *T); void lem_queue(lua_State *T, int nargs); |