[rtems-libbsd commit] rtems-bsd-rwlock.c: Do not redefine pthread_rwlock_t

Joel Sherrill joel at rtems.org
Wed Sep 5 18:08:39 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    f80f90f11dcb10b76dd5da2ec8e31d614c007dcd
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=f80f90f11dcb10b76dd5da2ec8e31d614c007dcd

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Sep  5 13:03:19 2012 -0500

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

---

 rtemsbsd/src/rtems-bsd-rwlock.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/src/rtems-bsd-rwlock.c b/rtemsbsd/src/rtems-bsd-rwlock.c
index 1f84835..21c61da 100644
--- a/rtemsbsd/src/rtems-bsd-rwlock.c
+++ b/rtemsbsd/src/rtems-bsd-rwlock.c
@@ -62,8 +62,6 @@ static int  owner_rw(struct lock_object *lock, struct thread **owner);
 #endif
 static int  unlock_rw(struct lock_object *lock);
 
-typedef uint32_t pthread_rwlock_t;
-
 struct lock_class lock_class_rw = {
   .lc_name = "rw",
   .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE,




More information about the vc mailing list