summaryrefslogtreecommitdiffstats
path: root/sys/sys/lockmgr.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-04 19:11:26 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-04 19:11:26 +0000
commit986d57f22b3f8697eee257f3f77c5bb9d1d092ef (patch)
treead1d37a270ad8e342d9cf8eb7bb4b4b586ba265f /sys/sys/lockmgr.h
parent10b9d7be19b22feb03c9b6937510f232b92da80f (diff)
downloadFreeBSD-src-986d57f22b3f8697eee257f3f77c5bb9d1d092ef.zip
FreeBSD-src-986d57f22b3f8697eee257f3f77c5bb9d1d092ef.tar.gz
pushed down "volatility" of simplelock to actual int inside the struct.
Submitted by: bde@zeta.org.au, smp@csn.net
Diffstat (limited to 'sys/sys/lockmgr.h')
-rw-r--r--sys/sys/lockmgr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h
index bbf3d44..07841ba 100644
--- a/sys/sys/lockmgr.h
+++ b/sys/sys/lockmgr.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)lock.h 8.12 (Berkeley) 5/19/95
- * $Id: lock.h,v 1.5 1997/07/23 20:40:52 fsmp Exp $
+ * $Id: lock.h,v 1.6 1997/07/24 18:01:34 fsmp Exp $
*/
#ifndef _LOCK_H_
@@ -157,17 +157,17 @@ struct proc;
void lockinit __P((struct lock *, int prio, char *wmesg, int timo,
int flags));
-int lockmgr __P((__volatile struct lock *, u_int flags,
+int lockmgr __P((struct lock *, u_int flags,
struct simplelock *, struct proc *p));
void lockmgr_printinfo __P((struct lock *));
int lockstatus __P((struct lock *));
#ifdef SIMPLELOCK_DEBUG
-void _simple_unlock __P((__volatile struct simplelock *alp, const char *, int));
+void _simple_unlock __P((struct simplelock *alp, const char *, int));
#define simple_unlock(alp) _simple_unlock(alp, __FILE__, __LINE__)
-int _simple_lock_try __P((__volatile struct simplelock *alp, const char *, int));
+int _simple_lock_try __P((struct simplelock *alp, const char *, int));
#define simple_lock_try(alp) _simple_lock_try(alp, __FILE__, __LINE__)
-void _simple_lock __P((__volatile struct simplelock *alp, const char *, int));
+void _simple_lock __P((struct simplelock *alp, const char *, int));
#define simple_lock(alp) _simple_lock(alp, __FILE__, __LINE__)
void simple_lock_init __P((struct simplelock *alp));
#else /* !SIMPLELOCK_DEBUG */
OpenPOWER on IntegriCloud