Arguments to cleanup are not needed.

master
Christoph Lohmann 2020-12-20 14:40:03 +01:00
parent 6837d1b5e6
commit 626219d14e
1 changed files with 3 additions and 3 deletions

View File

@ -17,11 +17,11 @@ char **p; /* the slides */
int n; /* the number of slides */
void
cleanup(int s)
cleanup(void)
{
int i;
for (i = 0; i<n; i++)
for (i = 0; i < n; i++)
munmap(p[i], 0x1000);
endwin(); /* restore terminal */
@ -151,7 +151,7 @@ again:
}
/* unmap mem */
cleanup(0);
cleanup();
return (0);
}