diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-20 14:03:56 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-20 14:03:56 +0530 |
commit | 73409c9fe14646d26893c7b6173cb973fb819372 (patch) | |
tree | cb19dfc384b9b35611a2c3462d2213d4ac102db7 | |
parent | 919eedc7f9c2e702162647ae79e6db079f98e981 (diff) | |
download | tinyproxy-73409c9fe14646d26893c7b6173cb973fb819372.tar.gz tinyproxy-73409c9fe14646d26893c7b6173cb973fb819372.zip |
build: Remove use of the obsolete AC_TYPE_SIGNAL macro
C89 compilers use void return type for signal handler functions.
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 1 insertions, 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) @@ -51,7 +51,7 @@ unsigned int processed_config_file = FALSE; /* boolean */ /* * Handle a signal */ -static RETSIGTYPE +static void takesig (int sig) { pid_t pid; |