summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/rwlock.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-06 09:35:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-11 10:08:06 +0100
commit0a57e1db23218393483a356c07868413a45caeeb (patch)
treea2d1dd67f5b05a52b1f79f571c690ebcf299d775 /freebsd/sys/sys/rwlock.h
parentChange license to BSD (diff)
downloadrtems-libbsd-0a57e1db23218393483a356c07868413a45caeeb.tar.bz2
Reduce divergence from FreeBSD sources
Diffstat (limited to 'freebsd/sys/sys/rwlock.h')
-rw-r--r--freebsd/sys/sys/rwlock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/freebsd/sys/sys/rwlock.h b/freebsd/sys/sys/rwlock.h
index 82e95c4b..ec2aed27 100644
--- a/freebsd/sys/sys/rwlock.h
+++ b/freebsd/sys/sys/rwlock.h
@@ -45,7 +45,6 @@
#ifdef __rtems__
#define RWLOCK_NOINLINE 1
#endif /* __rtems__ */
-
/*
* The rw_lock field consists of several fields. The low bit indicates
* if the lock is locked with a read (shared) or write (exclusive) lock.
@@ -155,7 +154,7 @@ void _rw_assert(struct rwlock *rw, int what, const char *file, int line);
*/
#ifndef LOCK_DEBUG
-#error LOCK_DEBUG not defined, include <rtems/bsd/sys/lock.h> before <sys/rwlock.h>
+#error LOCK_DEBUG not defined, include <sys/lock.h> before <sys/rwlock.h>
#endif
#if LOCK_DEBUG > 0 || defined(RWLOCK_NOINLINE)
#define rw_wlock(rw) _rw_wlock((rw), LOCK_FILE, LOCK_LINE)