summaryrefslogtreecommitdiff
path: root/Xtrans.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 12:10:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-24 09:28:11 -0700
commit305d20f2ee888d1c890f902da978176b8ec58a8d (patch)
treee12f78b92676832ffa3f1c3ea8e8e184e2423855 /Xtrans.h
parentba70d48951fb925fb3082d81afb08c330333aa51 (diff)
Add const qualifiers to TRANS(MakeAll*ServerListeners) port args
Required also changing receive_listening_fds to specify port as const, which we can do now that TRANS(ReopenCOTSServer) takes it as const. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtrans.h')
-rw-r--r--Xtrans.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xtrans.h b/Xtrans.h
index a1fb923..6decc6b 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -405,14 +405,14 @@ int TRANS(GetConnectionNumber)(
#ifdef TRANS_SERVER
int TRANS(MakeAllCOTSServerListeners)(
- char *, /* port */
+ const char *, /* port */
int *, /* partial */
int *, /* count_ret */
XtransConnInfo ** /* ciptrs_ret */
);
int TRANS(MakeAllCLTSServerListeners)(
- char *, /* port */
+ const char *, /* port */
int *, /* partial */
int *, /* count_ret */
XtransConnInfo ** /* ciptrs_ret */