From 4af9e4a71f7c07da86ef1940cba69e92b11ba337 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 19 Nov 2011 11:33:30 -0800 Subject: SmsInitialize: Mark vendor & release args as const char * Needed to fix gcc -Wwrite-strings arguments in callers such as xsm. Signed-off-by: Alan Coopersmith Reviewed-by: James Cloos --- include/X11/SM/SMlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/X11') diff --git a/include/X11/SM/SMlib.h b/include/X11/SM/SMlib.h index fb1166b..9645295 100644 --- a/include/X11/SM/SMlib.h +++ b/include/X11/SM/SMlib.h @@ -445,8 +445,8 @@ extern IceConn SmcGetIceConnection ( ); extern Status SmsInitialize ( - char * /* vendor */, - char * /* release */, + const char * /* vendor */, + const char * /* release */, SmsNewClientProc /* newClientProc */, SmPointer /* managerData */, IceHostBasedAuthProc /* hostBasedAuthProc */, -- cgit v1.2.3