diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-02 08:49:40 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-02 08:49:40 -0800 |
commit | e100ad533203fdc0d80078835c557f1bc47954bd (patch) | |
tree | 88b5fec49003ba5d681d8afd1e945e33ba841eae | |
parent | 214c90d6b01017fe02675e133129cf389e740533 (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.ac | 2 | ||||
-rw-r--r-- | xhost.c | 2 |
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) @@ -809,7 +809,7 @@ get_hostname(XHostAddress *ha) /*ARGUSED*/ static void -nameserver_lost(int sig) +nameserver_lost(_X_UNUSED int sig) { nameserver_timedout = 1; } |