summaryrefslogtreecommitdiff
path: root/lock.h
diff options
context:
space:
mode:
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