Signal handler needs to have int for signal number.
This commit is contained in:
parent
626219d14e
commit
a4f575be61
@ -17,7 +17,7 @@ char **p; /* the slides */
|
||||
int n; /* the number of slides */
|
||||
|
||||
void
|
||||
cleanup(void)
|
||||
cleanup(int sig)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -151,7 +151,7 @@ again:
|
||||
}
|
||||
|
||||
/* unmap mem */
|
||||
cleanup();
|
||||
cleanup(0);
|
||||
|
||||
return (0);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user