summaryrefslogtreecommitdiff
path: root/src
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 /src
parent9ff1f97e46903f8f83363f07cf021989bfa6a9f0 (diff)
downloadxorg-lib-libICE-902a52ea9d7b6e6f56f7023009859072854a0fc7.tar.gz
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 'src')
-rw-r--r--src/authutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/authutil.c b/src/authutil.c
index 747cacc..6c00482 100644
--- a/src/authutil.c
+++ b/src/authutil.c
@@ -338,9 +338,9 @@ IceWriteAuthFileEntry (
IceAuthFileEntry *
IceGetAuthFileEntry (
- char *protocol_name,
- char *network_id,
- char *auth_name
+ const char *protocol_name,
+ const char *network_id,
+ const char *auth_name
)
{
FILE *auth_file;