diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-10 20:21:48 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-10 20:21:48 +0000 |
commit | f2f2393a6a381d671fe9a889dea5b135ffebddab (patch) | |
tree | abb0da9e491e6eb39266f85dd478604e2f63602d /util-src/pposix.c | |
parent | 409189ec26156f01f27fd2039114399e9a945fba (diff) | |
download | prosody-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.c | 3 |
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 */ |