aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-10 20:21:48 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-10 20:21:48 +0000
commitf2f2393a6a381d671fe9a889dea5b135ffebddab (patch)
treeabb0da9e491e6eb39266f85dd478604e2f63602d /util-src/pposix.c
parent409189ec26156f01f27fd2039114399e9a945fba (diff)
downloadprosody-f2f2393a6a381d671fe9a889dea5b135ffebddab.tar.gz
prosody-f2f2393a6a381d671fe9a889dea5b135ffebddab.zip
util.pposix: Fix return type of lc_abort to shush compiler warning
Diffstat (limited to 'util-src/pposix.c')
-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 */