From 73409c9fe14646d26893c7b6173cb973fb819372 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Sun, 20 Sep 2009 14:03:56 +0530 Subject: build: Remove use of the obsolete AC_TYPE_SIGNAL macro C89 compilers use void return type for signal handler functions. --- configure.ac | 1 - src/main.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 71ed21a..6b0b3b7 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/src/main.c b/src/main.c index c5d080f..8f2c185 100644 --- a/src/main.c +++ b/src/main.c @@ -51,7 +51,7 @@ unsigned int processed_config_file = FALSE; /* boolean */ /* * Handle a signal */ -static RETSIGTYPE +static void takesig (int sig) { pid_t pid; -- cgit v1.2.3