summaryrefslogtreecommitdiff
path: root/Xtrans.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 09:58:05 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 12:47:32 -0700
commita56ec9d720a7964bada837790e9c1f6ceef97861 (patch)
tree44dc1dc7ed10086f88b78823d7c892e2b25e2fb4 /Xtrans.h
parent30b3fd74a27c80993e81dfcb33e33520ae8684fb (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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xtrans.h b/Xtrans.h
index 5807b67..1fe0364 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -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 */