diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 23:22:29 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 23:22:29 -0800 |
commit | 47479aabdb82907929d76ac87ca71f44819791f8 (patch) | |
tree | 42ec9b3060fb7e4efe017b0b9e893bdac2bdacf7 | |
parent | 5340bddccdd21fd34aae996ac3347ddb71f00de6 (diff) |
Mark usage & AbortTest as _X_NORETURN
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | x11perf.c | 2 | ||||
-rw-r--r-- | x11perf.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a928630..c3b197b 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_SUBST([x11perfcompdir], [$libdir/X11/x11perfcomp]) AC_PATH_PROG(MKTEMP, mktemp) # Checks for pkg-config packages -PKG_CHECK_MODULES(X11PERF, x11 xmuu) +PKG_CHECK_MODULES(X11PERF, [x11 xmuu xproto >= 7.0.17]) # Check for Xrender library PKG_CHECK_MODULES(XRENDER, xrender, [xrender_found=yes], [xrender_found=no]) @@ -316,7 +316,7 @@ ReportTimes(double usecs, long long n, char *str, int average) ************************************************/ static char *program_name; -static void usage(void); +static void usage(void) _X_NORETURN; /* * Get_Display_Name (argc, argv) Look for -display, -d, or host:dpy (obselete) @@ -135,7 +135,7 @@ extern Test test[]; extern int abortTest; -extern void AbortTest (void); +extern void AbortTest (void) _X_NORETURN; #define CheckAbort() if (abortTest) AbortTest () #define ForEachTest(x) for (x = 0; test[x].option != NULL; x++) |