Introduction
Introduction Statistics Contact Development Disclaimer Help
Arguments to cleanup are not needed. - catpoint - Catpoint simple presenting so…
git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrin…
Log
Files
Refs
Tags
README
LICENSE
---
commit 626219d14e08511fdccde2d75e4d0bcda52d2d3a
parent 6837d1b5e66be2650ffeb3f5d1020d72c60ef736
Author: Christoph Lohmann <[email protected]>
Date: Sun, 20 Dec 2020 14:40:03 +0100
Arguments to cleanup are not needed.
Diffstat:
M catpoint.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/catpoint.c b/catpoint.c
@@ -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);
}
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.