diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-04-07 01:16:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-04-07 01:16:55 +0000 |
commit | 5287d3e7e5d3c091f17c4828c1a6d907e23db362 (patch) | |
tree | b4718ea21d48e4c0abf1001074d1ff9729060558 /cpukit/posix/inline/rtems/posix | |
parent | * score/inline/rtems/score/threadmp.inl, (diff) | |
download | rtems-5287d3e7e5d3c091f17c4828c1a6d907e23db362.tar.bz2 |
2006-04-06 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/mutex.inl,
posix/inline/rtems/posix/timer.inl,
posix/macros/rtems/posix/cond.inl,
posix/macros/rtems/posix/mutex.inl,
posix/macros/rtems/posix/timer.inl: Fix warnings.
Diffstat (limited to 'cpukit/posix/inline/rtems/posix')
-rw-r--r-- | cpukit/posix/inline/rtems/posix/mutex.inl | 8 | ||||
-rw-r--r-- | cpukit/posix/inline/rtems/posix/timer.inl | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl index 85d3dcc1f5..cfe9df4b2f 100644 --- a/cpukit/posix/inline/rtems/posix/mutex.inl +++ b/cpukit/posix/inline/rtems/posix/mutex.inl @@ -74,10 +74,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( } while (0) RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( - Objects_Id *id, + pthread_mutex_t *mutex, Objects_Locations *location ) { + Objects_Id *id = (Objects_Id *)mutex; + ___POSIX_Mutex_Get_support( id, location ); return (POSIX_Mutex_Control *) @@ -85,11 +87,13 @@ RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( } RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable ( - Objects_Id *id, + pthread_mutex_t *mutex, Objects_Locations *location, ISR_Level *level ) { + Objects_Id *id = (Objects_Id *)mutex; + ___POSIX_Mutex_Get_support( id, location ); return (POSIX_Mutex_Control *) diff --git a/cpukit/posix/inline/rtems/posix/timer.inl b/cpukit/posix/inline/rtems/posix/timer.inl index e77145a940..3b07bdad27 100644 --- a/cpukit/posix/inline/rtems/posix/timer.inl +++ b/cpukit/posix/inline/rtems/posix/timer.inl @@ -84,7 +84,7 @@ RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get ( */ RTEMS_INLINE_ROUTINE boolean _POSIX_Timer_Is_null ( - Timer_Control *the_timer + POSIX_Timer_Control *the_timer ) { return (the_timer == NULL); |