made to compile, added proper cast

This commit is contained in:
ceriel 1989-07-11 12:48:40 +00:00
parent 1b08effa77
commit 347197573b
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,6 @@ _cleanup()
{
while (--callindex >= 0)
(*proclist[callindex])();
}
callindex = 0;
}

View file

@ -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;