From ba70d48951fb925fb3082d81afb08c330333aa51 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 23 Aug 2014 11:33:57 -0700 Subject: Add const qualifiers to TRANS(Connect) args Also required constifying UnixHostReallyLocal, since SocketUNIXConnect passes the host arg through to it. Signed-off-by: Alan Coopersmith --- Xtransint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Xtransint.h') diff --git a/Xtransint.h b/Xtransint.h index 285cf5b..f674e5b 100644 --- a/Xtransint.h +++ b/Xtransint.h @@ -252,8 +252,8 @@ typedef struct _Xtransport { int (*Connect)( XtransConnInfo, /* connection */ - char *, /* host */ - char * /* port */ + const char *, /* host */ + const char * /* port */ ); #endif /* TRANS_CLIENT */ -- cgit v1.2.1