summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--nslcd/nslcd.c4
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));