diff options
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); |