Comparison

util-src/pposix.c @ 2437:b1ba2473fd91

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 2436:ccc71b5d2e01
child 2438:819ba949c7bc
comparison
equal deleted inserted replaced
2436:ccc71b5d2e01 2437:b1ba2473fd91
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)