summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 10:30:25 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 10:30:25 -0800
commit84053f70451876dfadef1c718cdbbbb319f7f2d2 (patch)
tree1bc4d4d55d07935ef62a4ac4787745c581e98069
parent0e85edbfe016c4a243ced32d0dcb01f7286b60a1 (diff)
Mark usage with _X_NORETURN to quiet -Wmissing-noreturn warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xsetroot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6a93704..8100cd0 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(XSETROOT, xmuu x11 xbitmaps xcursor)
+PKG_CHECK_MODULES(XSETROOT, [xmuu x11 xbitmaps xcursor xproto >= 7.0.17])
XORG_WITH_LINT
diff --git a/xsetroot.c b/xsetroot.c
index 31233d9..5f21f91 100644
--- a/xsetroot.c
+++ b/xsetroot.c
@@ -55,7 +55,7 @@ static int save_colors = 0;
static int unsave_past = 0;
static Pixmap save_pixmap = (Pixmap)None;
-static void usage(void);
+static void usage(void) _X_NORETURN;
static void FixupState(void);
static void SetBackgroundToBitmap(Pixmap bitmap,
unsigned int width, unsigned int height);