summaryrefslogtreecommitdiff
path: root/xhost.c
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 /xhost.c
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>
Diffstat (limited to 'xhost.c')
-rw-r--r--xhost.c2
1 files changed, 1 insertions, 1 deletions
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;
}