made to compile, added proper cast
This commit is contained in:
parent
1b08effa77
commit
347197573b
|
@ -17,7 +17,6 @@ _cleanup()
|
|||
{
|
||||
while (--callindex >= 0)
|
||||
(*proclist[callindex])();
|
||||
}
|
||||
callindex = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ sigtrp(trapno, signo)
|
|||
|
||||
oldtrap = __traps[signo];
|
||||
|
||||
if (signal(signo, ctch) == -1) /* errno set by signal */
|
||||
if (signal(signo, ctch) == (int (*)())-1) /* errno set by signal */
|
||||
return -1;
|
||||
|
||||
__traps[signo] = trapno;
|
||||
|
|
Loading…
Reference in a new issue