From 5f4d774ea7b677561671ab6b948804d2a61427c7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 7 Jul 2000 19:29:05 +0000 Subject: 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. --- cpukit/score/include/rtems/score/coremutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/include') diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h index bf1773a6be..4f8e81a67c 100644 --- a/cpukit/score/include/rtems/score/coremutex.h +++ b/cpukit/score/include/rtems/score/coremutex.h @@ -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 #endif -- cgit v1.2.3