From 2714ee8817522b83b87d47d3b862edf528b98ba4 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 14 Jan 2001 20:54:55 +0000 Subject: Added check for return type of signal. --- configure.in | 3 +++ plpnfsd/mp_mount.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 7664fec..943cd52 100644 --- a/configure.in +++ b/configure.in @@ -103,6 +103,9 @@ case "$target_alias" in ;; esac +dnl Type of sighandlers +AC_TYPE_SIGNAL + dnl checks for header files AC_CHECK_HEADERS(sys/ioctl.h sys/errno.h sys/ttold.h stdlib.h) diff --git a/plpnfsd/mp_mount.c b/plpnfsd/mp_mount.c index a655fe8..6f9d203 100644 --- a/plpnfsd/mp_mount.c +++ b/plpnfsd/mp_mount.c @@ -124,14 +124,14 @@ static char *mntdir; /* where we mounted the psion */ static void doexit(void); #endif -static void +static RETSIGTYPE usr1_handler SIGARG { debug = (debug + 1) & 3; infolog("Set debug level to %d\n", debug); }; -static void +static RETSIGTYPE hup_handler SIGARG { if (debug > 1) @@ -139,7 +139,7 @@ hup_handler SIGARG exiting = 5; }; -static void +static RETSIGTYPE term_handler SIGARG { if (debug > 1) -- cgit v1.2.3