Moved __RTEMS_APPLICATION__ conditional to include the use of the

static inline routine _CORE_mutex_Seize_interrupt_trylock since
static routines are not included when in an application.
This commit is contained in:
Joel Sherrill
2000-07-07 19:29:05 +00:00
parent 823938fa4c
commit 5f4d774ea7
2 changed files with 2 additions and 2 deletions

View File

@@ -154,6 +154,7 @@ void _CORE_mutex_Initialize(
* a macro that uses two support routines.
*/
#ifndef __RTEMS_APPLICATION__
RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock(
CORE_mutex_Control *the_mutex,
ISR_Level *level_p
@@ -214,7 +215,6 @@ void _CORE_mutex_Flush(
unsigned32 status
);
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/coremutex.inl>
#endif