Signal handler needs to have int for signal number.

This commit is contained in:
Christoph Lohmann 2020-12-20 14:41:04 +01:00
parent 626219d14e
commit a4f575be61

View File

@ -17,7 +17,7 @@ char **p; /* the slides */
int n; /* the number of slides */ int n; /* the number of slides */
void void
cleanup(void) cleanup(int sig)
{ {
int i; int i;
@ -151,7 +151,7 @@ again:
} }
/* unmap mem */ /* unmap mem */
cleanup(); cleanup(0);
return (0); return 0;
} }