summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-25 10:57:00 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-01 08:55:42 -0700
commita74c5d915c3095059356f83d1b845192e5c472c2 (patch)
treeb855d809ba6e6459a6a9581aea3e4d2d36be5c54 /Xtranssock.c
parent64f765de138cb9b757df315469b3136d32222ea2 (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 'Xtranssock.c')
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index c2d69e6..268c599 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -453,7 +453,7 @@ TRANS(SocketOpen) (int i, int type)
#ifdef TRANS_REOPEN
static XtransConnInfo
-TRANS(SocketReopen) (int i, int type, int fd, char *port)
+TRANS(SocketReopen) (int i _X_UNUSED, int type, int fd, char *port)
{
XtransConnInfo ciptr;