util.pposix: Fix return type of lc_abort to shush compiler warning

Sun, 10 Jan 2010 20:21:48 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 10 Jan 2010 20:21:48 +0000
changeset 2437
b1ba2473fd91
parent 2436
ccc71b5d2e01
child 2438
819ba949c7bc

util.pposix: Fix return type of lc_abort to shush compiler warning

util-src/pposix.c file | annotate | diff | comparison | revisions
--- a/util-src/pposix.c	Sun Jan 10 17:35:37 2010 +0000
+++ b/util-src/pposix.c	Sun Jan 10 20:21:48 2010 +0000
@@ -463,9 +463,10 @@
 	return 3;
 }
 
-void lc_abort(lua_State* L)
+int lc_abort(lua_State* L)
 {
 	abort();
+	return 0;
 }
 
 /* Register functions */

mercurial