diff options
author | Fritz Elfert <felfert@to.com> | 2001-01-14 20:54:55 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-01-14 20:54:55 +0000 |
commit | 2714ee8817522b83b87d47d3b862edf528b98ba4 (patch) | |
tree | 3cb1eaf21f76e5b4afdbaade08e3808690451027 | |
parent | 4d31a7a076c0a13e29ced9228a1671c34144b39f (diff) | |
download | plptools-2714ee8817522b83b87d47d3b862edf528b98ba4.tar.gz plptools-2714ee8817522b83b87d47d3b862edf528b98ba4.tar.bz2 plptools-2714ee8817522b83b87d47d3b862edf528b98ba4.zip |
Added check for return type of signal.
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | 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) |