diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-09 07:50:02 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-09 07:50:02 +0000 |
commit | be1b2c1e63beb0fc0b90e21da4679e359a9f9fdc (patch) | |
tree | c1c9312ca26cb238f790c34b0c5fb47def93097c | |
parent | 861ec9ebafe6088c5456178ca9dca7cf49f2774e (diff) |
according to autoupdate RETSIGTYPE can be considered void always
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@872 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | nslcd/nslcd.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index b34aa10..a88ea27 100644 --- a/configure.ac +++ b/configure.ac @@ -206,7 +206,6 @@ AC_CHECK_FUNCS(ether_aton_r ether_ntoa_r,,[AC_CHECK_FUNCS(ether_aton ether_ntoa) # checks for types AC_C_CONST -AC_TYPE_SIGNAL AC_TYPE_MODE_T AC_TYPE_SIZE_T AC_TYPE_UID_T diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c index 816aa0a..5851a0f 100644 --- a/nslcd/nslcd.c +++ b/nslcd/nslcd.c @@ -222,7 +222,7 @@ static const char *signame(int signum) } /* signal handler for closing down */ -static RETSIGTYPE sigexit_handler(int signum) +static void sigexit_handler(int signum) { int i; nslcd_exitsignal=signum; @@ -486,7 +486,7 @@ static void create_pidfile(const char *filename) } /* try to install signal handler and check result */ -static void install_sighandler(int signum,RETSIGTYPE (*handler) (int)) +static void install_sighandler(int signum,void (*handler) (int)) { struct sigaction act; memset(&act,0,sizeof(struct sigaction)); |