diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 10:07:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 12:47:32 -0700 |
commit | fd90a4e00321b22c96565cfa354b8b0efa376979 (patch) | |
tree | a18534f61fbcc4f7f548c9b7b0d9b84d6e72269c /Xtrans.c | |
parent | a56ec9d720a7964bada837790e9c1f6ceef97861 (diff) |
Add const qualifiers to TRANS(Reopen...) port args
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtrans.c')
-rw-r--r-- | Xtrans.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |