summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-02 08:49:40 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-02 08:49:40 -0800
commite100ad533203fdc0d80078835c557f1bc47954bd (patch)
tree88b5fec49003ba5d681d8afd1e945e33ba841eae
parent214c90d6b01017fe02675e133129cf389e740533 (diff)
Mark argument to nameserver_lost signal handler as unused
Quiets clang warning: xhost.c:812:21: warning: unused parameter 'sig' [-Wunused-parameter] nameserver_lost(int sig) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xhost.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index be103e6..68cefa1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ XORG_DEFAULT_OPTIONS
# Checks for pkg-config packages
# - Both CFLAGS & LIBS needed:
-PKG_CHECK_MODULES(XHOST, x11 xmuu)
+PKG_CHECK_MODULES(XHOST, [xproto >= 7.0.22 x11 xmuu])
# - Only CFLAGS needed, not libs:
PKG_CHECK_MODULES(XAU, xau)
diff --git a/xhost.c b/xhost.c
index fd13dae..576513a 100644
--- a/xhost.c
+++ b/xhost.c
@@ -809,7 +809,7 @@ get_hostname(XHostAddress *ha)
/*ARGUSED*/
static void
-nameserver_lost(int sig)
+nameserver_lost(_X_UNUSED int sig)
{
nameserver_timedout = 1;
}