diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 09:57:51 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 09:57:56 -0800 |
commit | 107c2fcf5c7576ee66ee23926f0431b6db27a07a (patch) | |
tree | c3035b8de80f55a1872c526de7000e73a2dacc7d | |
parent | b2c6d0d0f64d419590c7cd77aae4890866665cba (diff) |
Assume signal handlers return void, as C89 requires
Drops use of autoconf's obsolete AC_TYPE_SIGNAL
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 0b352d4..779cb58 100644 --- a/configure.ac +++ b/configure.ac @@ -20,9 +20,6 @@ dnl Checks for programs. XORG_DEFAULT_OPTIONS XORG_WITH_LINT -dnl Replacement for Imake SIGNAL_DEFINES -AC_TYPE_SIGNAL - dnl Checks for functions AC_CHECK_FUNCS([rename fchmod]) @@ -113,7 +113,7 @@ boolean warn_multiple = FALSE; static void setfile_cmdinc(struct filepointer *filep, long count, char **list); static void redirect(const char *line, const char *makefile); -static RETSIGTYPE _X_NORETURN +static void _X_NORETURN catch (int sig) { fflush (stdout); |