summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 10:09:59 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 10:10:02 -0800
commitccd5cd064817595cfd0e04a926b73fb17fe31092 (patch)
tree9554f4bb3489c696ef393065e3020544e607a25f
parentb1f22217f6c513be07612d8ed88fe5540ce7be48 (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.ac2
-rw-r--r--x11perf.c2
2 files changed, 1 insertions, 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;