diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-25 20:01:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-25 20:01:47 +0000 |
commit | 4b556660f1d4ef76a937a5f2a4a0dc4edb973013 (patch) | |
tree | 6e30cf41fe281db84611522bb5c1af0b141dfafa /cpukit/posix/src/prwlockinit.c | |
parent | 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-4b556660f1d4ef76a937a5f2a4a0dc4edb973013.tar.bz2 |
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 164/UNINIT
Coverity Id 165/UNINIT
* posix/src/prwlockinit.c, posix/src/pspininit.c,
score/include/rtems/score/corespinlock.h,
score/inline/rtems/score/corerwlock.inl,
score/inline/rtems/score/corespinlock.inl: Add initialization helpers
for score rwlock and spinlock. Use them from POSIX.
Diffstat (limited to 'cpukit/posix/src/prwlockinit.c')
-rw-r--r-- | cpukit/posix/src/prwlockinit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlockinit.c b/cpukit/posix/src/prwlockinit.c index c4174c8931..c79b260b50 100644 --- a/cpukit/posix/src/prwlockinit.c +++ b/cpukit/posix/src/prwlockinit.c @@ -78,8 +78,10 @@ int pthread_rwlock_init( /* * Convert from POSIX attributes to Core RWLock attributes + * + * NOTE: Currently there are no core rwlock attributes */ - /* Currently there are no core rwlock attributes */ + _CORE_RWLock_Initialize_attributes( &the_attributes ); /* * Enter dispatching critical section to allocate and initialize RWLock |