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 --- Xtrans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Xtrans.c') diff --git a/Xtrans.c b/Xtrans.c index 6fa5141..79b3b31 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -490,7 +490,7 @@ TRANS(Open) (int type, const char *address) */ static XtransConnInfo -TRANS(Reopen) (int type, int trans_id, int fd, char *port) +TRANS(Reopen) (int type, int trans_id, int fd, const char *port) { XtransConnInfo ciptr = NULL; @@ -616,7 +616,7 @@ TRANS(OpenCLTSServer) (const char *address) #ifdef TRANS_REOPEN XtransConnInfo -TRANS(ReopenCOTSServer) (int trans_id, int fd, char *port) +TRANS(ReopenCOTSServer) (int trans_id, int fd, const char *port) { prmsg (2,"ReopenCOTSServer(%d, %d, %s)\n", trans_id, fd, port); @@ -624,7 +624,7 @@ TRANS(ReopenCOTSServer) (int trans_id, int fd, char *port) } XtransConnInfo -TRANS(ReopenCLTSServer) (int trans_id, int fd, char *port) +TRANS(ReopenCLTSServer) (int trans_id, int fd, const char *port) { prmsg (2,"ReopenCLTSServer(%d, %d, %s)\n", trans_id, fd, port); -- cgit v1.2.3