diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 09:58:05 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 12:47:32 -0700 |
commit | a56ec9d720a7964bada837790e9c1f6ceef97861 (patch) | |
tree | 44dc1dc7ed10086f88b78823d7c892e2b25e2fb4 /Xtrans.h | |
parent | 30b3fd74a27c80993e81dfcb33e33520ae8684fb (diff) |
Add const qualifiers to TRANS(Open...) address args
Required also adding const to static TRANS(ParseAddress) function which
they pass the address arg to for parsing.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtrans.h')
-rw-r--r-- | Xtrans.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -236,7 +236,7 @@ void TRANS(FreeConnInfo) ( #ifdef TRANS_CLIENT XtransConnInfo TRANS(OpenCOTSClient)( - char * /* address */ + const char * /* address */ ); #endif /* TRANS_CLIENT */ @@ -244,7 +244,7 @@ XtransConnInfo TRANS(OpenCOTSClient)( #ifdef TRANS_SERVER XtransConnInfo TRANS(OpenCOTSServer)( - char * /* address */ + const char * /* address */ ); #endif /* TRANS_SERVER */ @@ -252,7 +252,7 @@ XtransConnInfo TRANS(OpenCOTSServer)( #ifdef TRANS_CLIENT XtransConnInfo TRANS(OpenCLTSClient)( - char * /* address */ + const char * /* address */ ); #endif /* TRANS_CLIENT */ @@ -260,7 +260,7 @@ XtransConnInfo TRANS(OpenCLTSClient)( #ifdef TRANS_SERVER XtransConnInfo TRANS(OpenCLTSServer)( - char * /* address */ + const char * /* address */ ); #endif /* TRANS_SERVER */ |