summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-04-16 17:18:35 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-04-16 17:18:35 -0700
commitc0b077a85fb2e624ec87fb8bec906ce30bc473e4 (patch)
tree912d8552e255ba18f21e0ef6ecd3779e6601b6e5
parentd944df52b7b2c5c9e6789b0ff7bb390108613c6c (diff)
Mark Syntax() with _X_NORETURN to silence gcc warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xrefresh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fa6531a..e5a23e1 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(XREFRESH, x11)
+PKG_CHECK_MODULES(XREFRESH, [x11 xproto >= 7.0.17])
AC_CONFIG_FILES([
Makefile
diff --git a/xrefresh.c b/xrefresh.c
index 92fa6b2..48ee09e 100644
--- a/xrefresh.c
+++ b/xrefresh.c
@@ -62,7 +62,7 @@ static Window win;
static char *ProgramName;
-static void
+static void _X_NORETURN
Syntax(void)
{
fprintf (stderr, "usage: %s [-options] [geometry] [display]\n\n",