diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 12:28:14 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-24 09:32:26 -0700 |
commit | 17491de45c352c833442cccf17a9bd65909889db (patch) | |
tree | 14157c855d4a135f46f1133fb1cdff36db83e224 /Xtransint.h | |
parent | 305d20f2ee888d1c890f902da978176b8ec58a8d (diff) |
Add const qualifiers to TRANS(OpenC{L,O}TS{Server,Client}) args
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtransint.h')
-rw-r--r-- | Xtransint.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Xtransint.h b/Xtransint.h index f674e5b..5ff824d 100644 --- a/Xtransint.h +++ b/Xtransint.h @@ -163,9 +163,9 @@ typedef struct _Xtransport { XtransConnInfo (*OpenCOTSClient)( struct _Xtransport *, /* transport */ - char *, /* protocol */ - char *, /* host */ - char * /* port */ + const char *, /* protocol */ + const char *, /* host */ + const char * /* port */ ); #endif /* TRANS_CLIENT */ @@ -174,9 +174,9 @@ typedef struct _Xtransport { const char ** nolisten; XtransConnInfo (*OpenCOTSServer)( struct _Xtransport *, /* transport */ - char *, /* protocol */ - char *, /* host */ - char * /* port */ + const char *, /* protocol */ + const char *, /* host */ + const char * /* port */ ); #endif /* TRANS_SERVER */ @@ -185,9 +185,9 @@ typedef struct _Xtransport { XtransConnInfo (*OpenCLTSClient)( struct _Xtransport *, /* transport */ - char *, /* protocol */ - char *, /* host */ - char * /* port */ + const char *, /* protocol */ + const char *, /* host */ + const char * /* port */ ); #endif /* TRANS_CLIENT */ @@ -196,9 +196,9 @@ typedef struct _Xtransport { XtransConnInfo (*OpenCLTSServer)( struct _Xtransport *, /* transport */ - char *, /* protocol */ - char *, /* host */ - char * /* port */ + const char *, /* protocol */ + const char *, /* host */ + const char * /* port */ ); #endif /* TRANS_SERVER */ |