Software /
code /
prosody
Comparison
util-src/pposix.c @ 9151:fee3933ff346
pposix, signal: Ignore unused arguments.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 08 Aug 2018 09:28:04 +0200 |
parent | 9150:c1d5f52274cf |
child | 9152:bad9e8b43f50 |
comparison
equal
deleted
inserted
replaced
9150:c1d5f52274cf | 9151:fee3933ff346 |
---|---|
235 | 235 |
236 return 0; | 236 return 0; |
237 } | 237 } |
238 | 238 |
239 int lc_syslog_close(lua_State *L) { | 239 int lc_syslog_close(lua_State *L) { |
240 (void)L; | |
240 closelog(); | 241 closelog(); |
241 | 242 |
242 if(syslog_ident) { | 243 if(syslog_ident) { |
243 free(syslog_ident); | 244 free(syslog_ident); |
244 syslog_ident = NULL; | 245 syslog_ident = NULL; |
647 | 648 |
648 return 3; | 649 return 3; |
649 } | 650 } |
650 | 651 |
651 int lc_abort(lua_State *L) { | 652 int lc_abort(lua_State *L) { |
653 (void)L; | |
652 abort(); | 654 abort(); |
653 return 0; | 655 return 0; |
654 } | 656 } |
655 | 657 |
656 int lc_uname(lua_State *L) { | 658 int lc_uname(lua_State *L) { |