diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-25 10:57:00 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-01 08:55:42 -0700 |
commit | a74c5d915c3095059356f83d1b845192e5c472c2 (patch) | |
tree | b855d809ba6e6459a6a9581aea3e4d2d36be5c54 /Xtransutil.c | |
parent | 64f765de138cb9b757df315469b3136d32222ea2 (diff) |
Add _X_UNUSED attributes to silence unused parameter warnings
Not all the transport variants use all the arguments to every function,
but as long as one transport type needs it, they all get the args passed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'Xtransutil.c')
-rw-r--r-- | Xtransutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtransutil.c b/Xtransutil.c index 3cb01c5..bf52b37 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -316,7 +316,7 @@ int void #endif #endif -nameserver_lost(int sig) +nameserver_lost(int sig _X_UNUSED) { nameserver_timedout = 1; longjmp (env, -1); |