aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2019-05-12 11:11:13 +0200
committerMatthias Andree <matthias.andree@gmx.de>2019-05-12 11:41:26 +0200
commit21f870c83b30942d5504736a1865313753cf0dfa (patch)
tree9d026a88888820ea9646b93819bc48ec9f6ed549
parent4cc90dde4826e03f64e9a974e54534dae89c4529 (diff)
downloadfetchmail-21f870c83b30942d5504736a1865313753cf0dfa.tar.gz
fetchmail-21f870c83b30942d5504736a1865313753cf0dfa.tar.bz2
fetchmail-21f870c83b30942d5504736a1865313753cf0dfa.zip
Waive AC_TYPE_SIGNAL and assume signal handlers return void.
Reported by: autoupdate.
-rw-r--r--configure.ac1
-rw-r--r--fetchmail.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 16b0fcba..81465d0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,6 @@ AC_HEADER_STDC
AC_HEADER_TIME
AC_TYPE_SIZE_T
AC_TYPE_PID_T
-AC_TYPE_SIGNAL
AC_CHECK_HEADERS([unistd.h termios.h termio.h sgtty.h stdarg.h \
sys/itimer.h fcntl.h sys/fcntl.h memory.h sys/wait.h \
arpa/inet.h arpa/nameser.h netinet/in.h net/socket.h netdb.h \
diff --git a/fetchmail.h b/fetchmail.h
index d2939c64..6a224cae 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -685,6 +685,7 @@ char *prependdir (const char *, const char *);
char *MD5Digest (unsigned const char *);
void hmac_md5 (const unsigned char *, size_t, const unsigned char *, size_t, unsigned char *, size_t);
int POP3_auth_rpa(char *, char *, int socket);
+#define RETSIGTYPE void
typedef RETSIGTYPE (*SIGHANDLERTYPE) (int);
void deal_with_sigchld(void);
RETSIGTYPE null_signal_handler(int sig);