build: Remove use of the obsolete AC_TYPE_SIGNAL macro

C89 compilers use void return type for signal handler functions.
This commit is contained in:
Mukund Sivaraman 2009-09-20 14:03:56 +05:30
parent 919eedc7f9
commit 73409c9fe1
2 changed files with 1 additions and 2 deletions

View File

@ -177,7 +177,6 @@ dnl Checks for types
dnl
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_UNP_CHECK_TYPE(uint8_t, unsigned char)
AC_UNP_CHECK_TYPE(int16_t, short)
AC_UNP_CHECK_TYPE(uint16_t, unsigned short)

View File

@ -51,7 +51,7 @@ unsigned int processed_config_file = FALSE; /* boolean */
/*
* Handle a signal
*/
static RETSIGTYPE
static void
takesig (int sig)
{
pid_t pid;