Mark usage as noreturn, as suggested by -Wmissing-noreturn 69/9269/1 submit/tizen/20130910.025318
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 26 Apr 2013 04:17:23 +0000 (21:17 -0700)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 3 Sep 2013 03:38:40 +0000 (23:38 -0400)
Change-Id: I48af776c29d1a12e7c8bc97d67735f6c7c39c334
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
configure.ac
xeyes.c

index 1383c97..c27a9f6 100644 (file)
@@ -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 (file)
--- 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,