Signal handler needs to have int for signal number.

master
Christoph Lohmann 2020-12-20 14:41:04 +01:00
parent 626219d14e
commit a4f575be61
1 changed files with 3 additions and 3 deletions

View File

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