summaryrefslogtreecommitdiff
path: root/lock.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-10-22 08:37:59 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-10-22 08:37:59 -0700
commit01ac0b14bea486a626d8565dec8c8e546bb3d82f (patch)
treedd22f51f63fc7449d364f29e66d7fd87ad4ad719 /lock.h
parent6f1ebee7cba16f31c6201d6654d0c4ff9502ec12 (diff)
Constify lock.c
Diffstat (limited to 'lock.h')
-rw-r--r--lock.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lock.h b/lock.h
index 19805ef..ca4eccf 100644
--- a/lock.h
+++ b/lock.h
@@ -30,10 +30,10 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xdefs.h>
-extern Status LockSession(char *session_name, Bool write_id);
-extern void UnlockSession(char* session_name);
-extern char * GetLockId(char *session_name);
-extern Bool CheckSessionLocked(char *session_name, Bool get_id, char **id_ret);
-extern void UnableToLockSession(char *session_name);
+extern Status LockSession(const char *session_name, Bool write_id);
+extern void UnlockSession(const char* session_name);
+extern char * GetLockId(const char *session_name);
+extern Bool CheckSessionLocked(const char *session_name, Bool get_id, char **id_ret);
+extern void UnableToLockSession(const char *session_name);
#endif