[CONTACT]

[ABOUT]

[POLICY]

git clone catpoint catpoint Log gph

Found at: gopher.r-36.net:70/scm/catpoint/commit/a4f575be610e1f6ff6f12c0d4adbc09c270eb274.gph

tSignal handler needs to have int for signal number. - catpoint - Catpoint simple presenting software.

git clone git://r-36.net/catpoint

Log

Files

Refs

LICENSE

---

commit a4f575be610e1f6ff6f12c0d4adbc09c270eb274

parent 626219d14e08511fdccde2d75e4d0bcda52d2d3a

Author: Christoph Lohmann <20h@r-36.net>

Date:   Sun, 20 Dec 2020 14:41:04 +0100
Signal handler needs to have int for signal number.
Diffstat:
  catpoint.c                          |       6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---

diff --git a/catpoint.c b/catpoint.c

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


AD: