diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 2002-03-05 17:45:12 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 2002-03-05 17:45:12 +0000 |
commit | 04858e7ee40f86dcf42c8d299abeed3e3883d2ae (patch) | |
tree | 32e5852021483ed98f7c92205f86769f94c079e1 /sys/sys | |
parent | df140f7277ec40d62a071c28753ca0815c98c702 (diff) | |
download | src-04858e7ee40f86dcf42c8d299abeed3e3883d2ae.tar.gz src-04858e7ee40f86dcf42c8d299abeed3e3883d2ae.zip |
Change wmesg to const char * instead of char *
Notes
Notes:
svn path=/head/; revision=91698
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/lockmgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h index e941110432d1..da8d86e092c9 100644 --- a/sys/sys/lockmgr.h +++ b/sys/sys/lockmgr.h @@ -55,7 +55,7 @@ struct lock { int lk_waitcount; /* # of processes sleeping for lock */ short lk_exclusivecount; /* # of recursive exclusive locks */ short lk_prio; /* priority at which to sleep */ - char *lk_wmesg; /* resource sleeping (for tsleep) */ + const char *lk_wmesg; /* resource sleeping (for tsleep) */ int lk_timo; /* maximum sleep time (for tsleep) */ pid_t lk_lockholder; /* pid of exclusive lock holder */ #ifdef DEBUG_LOCKS @@ -199,8 +199,8 @@ struct lock { void dumplockinfo(struct lock *lkp); struct thread; -void lockinit __P((struct lock *, int prio, char *wmesg, int timo, - int flags)); +void lockinit __P((struct lock *, int prio, const char *wmesg, + int timo, int flags)); void lockdestroy __P((struct lock *)); #ifdef DEBUG_LOCKS |