rtems-bsd-rwlock.c: Do not redefine pthread_rwlock_t

This commit is contained in:
Joel Sherrill 2012-09-05 13:03:19 -05:00
parent b7923cd15b
commit f80f90f11d

View File

@ -62,8 +62,6 @@ static int owner_rw(struct lock_object *lock, struct thread **owner);
#endif #endif
static int unlock_rw(struct lock_object *lock); static int unlock_rw(struct lock_object *lock);
typedef uint32_t pthread_rwlock_t;
struct lock_class lock_class_rw = { struct lock_class lock_class_rw = {
.lc_name = "rw", .lc_name = "rw",
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE, .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE,