signal now deals with void functions

This commit is contained in:
ceriel
1993-11-17 16:27:44 +00:00
parent 2309d12210
commit 82f89c97a6
3 changed files with 8 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ int nr;
/*debug printf("trap set to %d\n",nr);*/
_trpline=nr;
}
void
_trpfatal(i)
int i;
{
@@ -35,7 +36,7 @@ int i;
_ini_trp()
{
/* initialize trap routines */
int i, _trpfatal();
int i;
for(i=0;i<NSIG;i++)
signal(i,_trpfatal);