static int IsEndwin = 0;
/* Attempt to catch "ordinary" signals and shut down gracefully. */
-static RETSIGTYPE exit_handler (int sig)
+static void exit_handler (int sig)
{
curs_set (1);
endwin (); /* just to be safe */
exit (0);
}
-static RETSIGTYPE chld_handler(int sig __attribute__((unused)))
+static void chld_handler(int sig __attribute__((unused)))
{
/* empty */
}
-static RETSIGTYPE sighandler (int sig)
+static void sighandler (int sig)
{
int save_errno = errno;