summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-25 21:17:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-25 21:17:23 -0700
commit717b348e12bdd1f3486709e9887b4cfcfa3fd6de (patch)
treecb8b37979f9b47a61b82e3f240e8b846ed5b1c7f
parentecbd7c66a53cab3964c30158973fc5d620d898cd (diff)
Mark usage as noreturn, as suggested by -Wmissing-noreturn
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xeyes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1383c97..c27a9f6 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(XEYES, x11 xt xext xmu)
+PKG_CHECK_MODULES(XEYES, [x11 xt xext xmu xproto >= 7.0.17])
dnl Optional dependencies
AC_ARG_WITH(xrender, AS_HELP_STRING([--with-xrender],[Use Xrender for rendering (Default is YES)]),use_xrender="$withval",use_xrender="try")
diff --git a/xeyes.c b/xeyes.c
index c58436d..c2f3a73 100644
--- a/xeyes.c
+++ b/xeyes.c
@@ -43,7 +43,7 @@ from the X Consortium.
/* Exit with message describing command line format */
-static void
+static void _X_NORETURN
usage(void)
{
fprintf(stderr,