diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-22 08:37:59 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-22 08:37:59 -0700 |
commit | 01ac0b14bea486a626d8565dec8c8e546bb3d82f (patch) | |
tree | dd22f51f63fc7449d364f29e66d7fd87ad4ad719 /lock.h | |
parent | 6f1ebee7cba16f31c6201d6654d0c4ff9502ec12 (diff) |
Constify lock.c
Diffstat (limited to 'lock.h')
-rw-r--r-- | lock.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |