diff options
-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++) |