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 2830
1df57426263a
parent 2829
7f22d9c384e1
child 2831
8ee7ec6fc5fc

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	Fri Jan 01 03:32:26 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