summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/ICE/ICEutil.h4
-rw-r--r--src/authutil.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/X11/ICE/ICEutil.h b/include/X11/ICE/ICEutil.h
index 9c6b12f..dbf1490 100644
--- a/include/X11/ICE/ICEutil.h
+++ b/include/X11/ICE/ICEutil.h
@@ -81,14 +81,14 @@ extern char *IceAuthFileName (
);
extern int IceLockAuthFile (
- char * /* file_name */,
+ const char * /* file_name */,
int /* retries */,
int /* timeout */,
long /* dead */
);
extern void IceUnlockAuthFile (
- char * /* file_name */
+ const char * /* file_name */
);
extern IceAuthFileEntry *IceReadAuthFileEntry (
diff --git a/src/authutil.c b/src/authutil.c
index ad29dbb..96ce3a0 100644
--- a/src/authutil.c
+++ b/src/authutil.c
@@ -128,7 +128,7 @@ IceAuthFileName (void)
int
IceLockAuthFile (
- char *file_name,
+ const char *file_name,
int retries,
int timeout,
long dead
@@ -204,7 +204,7 @@ IceLockAuthFile (
void
IceUnlockAuthFile (
- char *file_name
+ const char *file_name
)
{
#ifndef WIN32