From 9561eca1ad28afee6dcd0aebea3dd20a154ec481 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 18 Jul 2013 00:36:28 -0700 Subject: Constify filename argument to IceLockAuthFile & IceUnlockAuthFile Needed to fix const string warnings in iceauth - functions already copy provided arguments to temporary local buffer for modifications. Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer --- include/X11/ICE/ICEutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/X11/ICE/ICEutil.h') 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 ( -- cgit v1.2.3