summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-09 21:55:17 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 19:59:59 -0800
commit902a52ea9d7b6e6f56f7023009859072854a0fc7 (patch)
tree792979e7b747a1ada6d2641a8aa75246c0db793b /include/X11
parent9ff1f97e46903f8f83363f07cf021989bfa6a9f0 (diff)
constify arguments to IceGetAuthFileEntry
Needed to clear gcc -Wwrite-strings warnings in callers Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/ICE/ICEutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/X11/ICE/ICEutil.h b/include/X11/ICE/ICEutil.h
index 2852931..9c6b12f 100644
--- a/include/X11/ICE/ICEutil.h
+++ b/include/X11/ICE/ICEutil.h
@@ -105,9 +105,9 @@ extern Status IceWriteAuthFileEntry (
);
extern IceAuthFileEntry *IceGetAuthFileEntry (
- char * /* protocol_name */,
- char * /* network_id */,
- char * /* auth_name */
+ const char * /* protocol_name */,
+ const char * /* network_id */,
+ const char * /* auth_name */
);
extern char *IceGenerateMagicCookie (