aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
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
commit7a04ee2962ab0b83bc0042da27f1ce62225cf3c4 (patch)
treeee61c9f36c34a98a2d4e298c23ef8a0d875a40f6 /util-src
parentf3a1c08111f2c2d43c31800e93453e85bafba8af (diff)
downloadprosody-7a04ee2962ab0b83bc0042da27f1ce62225cf3c4.tar.gz
prosody-7a04ee2962ab0b83bc0042da27f1ce62225cf3c4.zip
util.pposix: Fix return type of lc_abort to shush compiler warning
Diffstat (limited to 'util-src')
-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 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 */