From e6faa6ac76c5345cbdf3c7f5a9679b13b4184c1f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Jul 2000 20:01:23 +0000 Subject: Corrected call to _CORE_mutex_Seize_interrupt_blocking. --- c/src/exec/score/include/rtems/score/coremutex.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src/exec/score/include/rtems/score/coremutex.h') diff --git a/c/src/exec/score/include/rtems/score/coremutex.h b/c/src/exec/score/include/rtems/score/coremutex.h index db3350dab2..bf1773a6be 100644 --- a/c/src/exec/score/include/rtems/score/coremutex.h +++ b/c/src/exec/score/include/rtems/score/coremutex.h @@ -161,7 +161,6 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock( void _CORE_mutex_Seize_interrupt_blocking( CORE_mutex_Control *the_mutex, - boolean wait, Watchdog_Interval timeout ); @@ -179,7 +178,7 @@ void _CORE_mutex_Seize_interrupt_blocking( _Thread_Executing->Wait.id = _id; \ _Thread_Disable_dispatch(); \ _ISR_Enable( _level ); \ - _CORE_mutex_Seize_interrupt_blocking( _the_mutex, _id, _timeout ); \ + _CORE_mutex_Seize_interrupt_blocking( _the_mutex, _timeout ); \ } \ } \ } while (0) @@ -215,6 +214,10 @@ void _CORE_mutex_Flush( unsigned32 status ); +#ifndef __RTEMS_APPLICATION__ +#include +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.3