From ccd5cd064817595cfd0e04a926b73fb17fe31092 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 23 Feb 2013 10:09:59 -0800 Subject: Assume signal handlers return void, as C89 requires Drops use of autoconf's obsolete AC_TYPE_SIGNAL Signed-off-by: Alan Coopersmith --- configure.ac | 2 -- x11perf.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c3b197b..0ccf1da 100644 --- a/configure.ac +++ b/configure.ac @@ -39,8 +39,6 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AC_TYPE_SIGNAL - # Define the installation directory for the x11 performance compare scripts AC_SUBST([x11perfcompdir], [$libdir/X11/x11perfcomp]) diff --git a/x11perf.c b/x11perf.c index 8b2dd67..e6c1e4c 100644 --- a/x11perf.c +++ b/x11perf.c @@ -438,7 +438,7 @@ Open_Display(char *display_name) return(d); } -static RETSIGTYPE +static void Cleanup(int sig) { abortTest = sig; -- cgit v1.2.3