From 5287d3e7e5d3c091f17c4828c1a6d907e23db362 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 7 Apr 2006 01:16:55 +0000 Subject: 2006-04-06 Joel Sherrill * 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. --- cpukit/posix/inline/rtems/posix/mutex.inl | 8 ++++++-- cpukit/posix/inline/rtems/posix/timer.inl | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'cpukit/posix/inline/rtems/posix') 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); -- cgit v1.2.3