Signal handler needs to have int for signal number.

master
Christoph Lohmann 3 years ago
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…
Cancel
Save