diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 12:10:48 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-24 09:28:11 -0700 |
commit | 305d20f2ee888d1c890f902da978176b8ec58a8d (patch) | |
tree | e12f78b92676832ffa3f1c3ea8e8e184e2423855 /Xtrans.h | |
parent | ba70d48951fb925fb3082d81afb08c330333aa51 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |