diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 10:32:12 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 10:32:15 -0800 |
commit | 9304e54b39727baf50952c53a42809fd7a0712ec (patch) | |
tree | 0f5aeab6d95c1cb62fc84d2e978e23781f55d1da | |
parent | bc861c7607942cf9c95ed2a2eb55619680c9a134 (diff) |
Assume signal handlers return void, as C89 requires
Drops use of autoconf's obsolete AC_TYPE_SIGNAL and RETSIGTYPE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | xtrapout.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 9d244a1..0b7a62f 100644 --- a/configure.ac +++ b/configure.ac @@ -31,7 +31,6 @@ m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.3) -AC_TYPE_SIGNAL AM_CONFIG_HEADER(config.h) AC_PROG_CC @@ -90,8 +90,6 @@ SOFTWARE. #ifdef HAVE_CONFIG_H #include "config.h" -#else -#define RETSIGTYPE void #endif #include <stdio.h> @@ -115,7 +113,7 @@ extern int opterr; /* Forward declarations */ -static RETSIGTYPE SetGlobalDone (int unused ); +static void SetGlobalDone (int unused ); static void print_req_callback (XETC *tc , XETrapDatum *data , BYTE *my_buf ); static void print_evt_callback (XETC *tc , XETrapDatum *data , |