diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-06 09:35:05 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-11 10:08:06 +0100 |
commit | 0a57e1db23218393483a356c07868413a45caeeb (patch) | |
tree | a2d1dd67f5b05a52b1f79f571c690ebcf299d775 /freebsd/sys/sys/rwlock.h | |
parent | Change license to BSD (diff) | |
download | rtems-libbsd-0a57e1db23218393483a356c07868413a45caeeb.tar.bz2 |
Reduce divergence from FreeBSD sources
Diffstat (limited to 'freebsd/sys/sys/rwlock.h')
-rw-r--r-- | freebsd/sys/sys/rwlock.h | 3 |
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) |