mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
pposix, signal: Ignore unused arguments.
This commit is contained in:
parent
9d9392a941
commit
1a23a874bc
2 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,7 @@ int signals[MAX_PENDING_SIGNALS];
|
|||
int nsig = 0;
|
||||
|
||||
static void sighook(lua_State *L, lua_Debug *ar) {
|
||||
(void)ar;
|
||||
/* restore the old hook */
|
||||
lua_sethook(L, Hsig, Hmask, Hcount);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue