summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 11:18:33 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 11:18:33 -0800
commit766a467795cd9e58cd9ea0266dd6a5b54403aac8 (patch)
treed8fac7e6fa613afed8a02270b893105f9e4bcb00
parent5fe00fdffe8ec04f8ad04617a2b26ff282049a4c (diff)
Mark usage() as _X_NORETURN to satisfy -Wmissing-noreturn warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--appres.c2
-rw-r--r--configure.ac2
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