From fd90a4e00321b22c96565cfa354b8b0efa376979 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 23 Aug 2014 10:07:22 -0700 Subject: Add const qualifiers to TRANS(Reopen...) port args Signed-off-by: Alan Coopersmith --- Xtranssock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Xtranssock.c') diff --git a/Xtranssock.c b/Xtranssock.c index 6cde146..1b1dd7e 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -473,7 +473,7 @@ TRANS(SocketOpen) (int i, int type) #ifdef TRANS_REOPEN static XtransConnInfo -TRANS(SocketReopen) (int i _X_UNUSED, int type, int fd, char *port) +TRANS(SocketReopen) (int i _X_UNUSED, int type, int fd, const char *port) { XtransConnInfo ciptr; @@ -762,7 +762,7 @@ TRANS(SocketOpenCLTSServer) (Xtransport *thistrans, char *protocol, #ifdef TRANS_REOPEN static XtransConnInfo -TRANS(SocketReopenCOTSServer) (Xtransport *thistrans, int fd, char *port) +TRANS(SocketReopenCOTSServer) (Xtransport *thistrans, int fd, const char *port) { XtransConnInfo ciptr; @@ -796,7 +796,7 @@ TRANS(SocketReopenCOTSServer) (Xtransport *thistrans, int fd, char *port) } static XtransConnInfo -TRANS(SocketReopenCLTSServer) (Xtransport *thistrans, int fd, char *port) +TRANS(SocketReopenCLTSServer) (Xtransport *thistrans, int fd, const char *port) { XtransConnInfo ciptr; -- cgit v1.2.1