aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-10-25 00:07:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-10-25 00:07:09 +0000
commit7ff9f8835532b81ba6179ac566ef42951c9fe034 (patch)
tree211c0c18e4ce2721160bd15ee6a8a5a139b9d790 /sys
parent915cf38b11b5b1e69b6e03accca99fb472fc985a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/lock.h3
-rw-r--r--sys/sys/lockmgr.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h
index 47afdb2341e6..a797a7215890 100644
--- a/sys/sys/lock.h
+++ b/sys/sys/lock.h
@@ -41,9 +41,10 @@
#ifndef _LOCK_H_
#define _LOCK_H_
-#include <sys/mutex.h>
#include <machine/lock.h>
+struct mtx;
+
/*
* The general lock structure. Provides for multiple shared locks,
* upgrading from shared to exclusive, and sleeping until the lock
diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h
index 47afdb2341e6..a797a7215890 100644
--- a/sys/sys/lockmgr.h
+++ b/sys/sys/lockmgr.h
@@ -41,9 +41,10 @@
#ifndef _LOCK_H_
#define _LOCK_H_
-#include <sys/mutex.h>
#include <machine/lock.h>
+struct mtx;
+
/*
* The general lock structure. Provides for multiple shared locks,
* upgrading from shared to exclusive, and sleeping until the lock