diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 14:29:28 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 14:29:28 -0800 |
commit | 68e388a32b1be09b73eee18c8720efd1c08fdfe8 (patch) | |
tree | 4e7b7e7d7ab1029dd3489168e2ee61d98cbf8057 | |
parent | 34828bc984579fd77136d5d0a559d1a887bac420 (diff) |
Add _X_NORETURN to PrintUsage to clear gcc/clang warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | xvinfo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 97caf70..5fa4507 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XVINFO, xv x11) +PKG_CHECK_MODULES(XVINFO, [xv x11 xproto >= 7.0.17]) AC_CONFIG_FILES([ Makefile @@ -6,7 +6,7 @@ #include <string.h> #include <ctype.h> -static void +static void _X_NORETURN PrintUsage(void) { fprintf(stderr, "Usage: xvinfo [-display host:dpy] [-short]\n"); |