Comparison

util-src/pposix.c @ 2830:1df57426263a

util.pposix: Fix return type of lc_abort to shush compiler warning
author Matthew Wild <mwild1@gmail.com>
date Sun, 10 Jan 2010 20:21:48 +0000
parent 2060:b23295b5428a
child 2923:b7049746bd29
comparison
equal deleted inserted replaced
2829:7f22d9c384e1 2830:1df57426263a
461 lua_pushnumber(L, lim.rlim_cur); 461 lua_pushnumber(L, lim.rlim_cur);
462 lua_pushnumber(L, lim.rlim_max); 462 lua_pushnumber(L, lim.rlim_max);
463 return 3; 463 return 3;
464 } 464 }
465 465
466 void lc_abort(lua_State* L) 466 int lc_abort(lua_State* L)
467 { 467 {
468 abort(); 468 abort();
469 return 0;
469 } 470 }
470 471
471 /* Register functions */ 472 /* Register functions */
472 473
473 int luaopen_util_pposix(lua_State *L) 474 int luaopen_util_pposix(lua_State *L)