From 766a467795cd9e58cd9ea0266dd6a5b54403aac8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 19 Jan 2013 11:18:33 -0800 Subject: Mark usage() as _X_NORETURN to satisfy -Wmissing-noreturn warning Signed-off-by: Alan Coopersmith --- appres.c | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appres.c b/appres.c index a2a8d58..9a137fc 100644 --- a/appres.c +++ b/appres.c @@ -35,7 +35,7 @@ static char *ProgramName; static XrmQuark XrmQString; -static void +static void _X_NORETURN usage (void) { fprintf (stderr, diff --git a/configure.ac b/configure.ac index e9c80d7..add3a92 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(APPRES, x11 xt) +PKG_CHECK_MODULES(APPRES, [x11 xt xproto >= 7.0.17]) AC_CONFIG_FILES([ Makefile -- cgit v1.2.3