Mark usage() as _X_NORETURN
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Tue, 22 Jan 2013 07:02:57 +0000 (23:02 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Tue, 22 Jan 2013 07:02:57 +0000 (23:02 -0800)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
configure.ac
xdpyinfo.c

index 9329a78..71f1643 100644 (file)
@@ -36,7 +36,7 @@ XORG_DEFAULT_OPTIONS
 AC_CONFIG_HEADERS([config.h])
 
 # Checks for pkg-config packages
-PKG_CHECK_MODULES(XDPYINFO, xext x11 xtst x11-xcb xcb)
+PKG_CHECK_MODULES(XDPYINFO, [xext x11 xtst x11-xcb xcb xproto >= 7.0.17])
 
 # This is used below to allow <X11/Xlib.h> to be found
 PKG_CHECK_MODULES(DPY_X11, x11)
index 2482156..fdf2515 100644 (file)
@@ -1436,7 +1436,7 @@ print_marked_extensions(Display *dpy)
     }
 }
 
-static void
+static void _X_NORETURN
 usage(void)
 {
     fprintf (stderr, "usage:  %s [options]\n", ProgramName);