Signal handler needs to have int for signal number. - catpoint - Catpoint simple presenting software. (HTM) git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit a4f575be610e1f6ff6f12c0d4adbc09c270eb274 (DIR) parent 626219d14e08511fdccde2d75e4d0bcda52d2d3a (HTM) 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: M catpoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/catpoint.c b/catpoint.c @@ -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; }