From 7a04ee2962ab0b83bc0042da27f1ce62225cf3c4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 10 Jan 2010 20:21:48 +0000 Subject: util.pposix: Fix return type of lc_abort to shush compiler warning --- util-src/pposix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util-src') diff --git a/util-src/pposix.c b/util-src/pposix.c index 94086ed6..cef75287 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -463,9 +463,10 @@ int lc_getrlimit(lua_State *L) { return 3; } -void lc_abort(lua_State* L) +int lc_abort(lua_State* L) { abort(); + return 0; } /* Register functions */ -- cgit v1.2.3