aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util-src/pposix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c
index ea15033d..ae3e1bb8 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 */