From eb9a8904fbef61a57ff01c90627ead57055ed62b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 25 Sep 2011 11:18:26 -0700 Subject: Add const attributes to fix gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- Xtrans.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xtrans.h') diff --git a/Xtrans.h b/Xtrans.h index 582b21c..2945b2a 100644 --- a/Xtrans.h +++ b/Xtrans.h @@ -304,7 +304,7 @@ int TRANS(CreateListener)( ); int TRANS(NoListen) ( - char* /* protocol*/ + const char* /* protocol*/ ); int TRANS(ResetListener)( -- cgit v1.2.3