git clone catpoint catpoint Log gph
Found at: gopher.r-36.net:70/scm/catpoint/commit/626219d14e08511fdccde2d75e4d0bcda52d2d3a.gph
tArguments to cleanup are not needed. - catpoint - Catpoint simple presenting software.
git clone git://r-36.net/catpoint
---
commit 626219d14e08511fdccde2d75e4d0bcda52d2d3a
parent 6837d1b5e66be2650ffeb3f5d1020d72c60ef736
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 20 Dec 2020 14:40:03 +0100
Arguments to cleanup are not needed.
Diffstat:
catpoint.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/catpoint.c b/catpoint.c
t@@ -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 + for (i = 0; i < n; i++)munmap(p[i], 0x1000);endwin(); /* restore terminal */t@@ -151,7 +151,7 @@ again:}/* unmap mem */- cleanup(0);+ cleanup();return (0);}.