From f4d52cd74c915219a892e3d4668b3a55857f749f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Apr 1996 19:36:59 +0000 Subject: changes to compile in macro configuration without warnings. --- cpukit/score/include/rtems/score/chain.h | 10 ++++++++++ cpukit/score/include/rtems/score/isr.h | 2 -- cpukit/score/include/rtems/score/thread.h | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/include/rtems/score/chain.h b/cpukit/score/include/rtems/score/chain.h index 6eed361e88..11c1f8aee0 100644 --- a/cpukit/score/include/rtems/score/chain.h +++ b/cpukit/score/include/rtems/score/chain.h @@ -83,6 +83,16 @@ void _Chain_Initialize( unsigned32 node_size ); +/* + * _Chain_Get_first_unprotected + */ + +#ifndef USE_INLINES +Chain_Node *_Chain_Get_first_unprotected( + Chain_Control *the_chain +); +#endif + /* * _Chain_Extract * diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h index e42d7b888e..cf8f4cad59 100644 --- a/cpukit/score/include/rtems/score/isr.h +++ b/cpukit/score/include/rtems/score/isr.h @@ -214,9 +214,7 @@ void _ISR_Handler( void ); void _ISR_Dispatch( void ); -#ifndef __RTEMS_APPLICATION__ #include -#endif #ifdef __cplusplus } diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 8abf7c3584..74399545b9 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -544,6 +544,20 @@ void _Thread_Set_priority( boolean _Thread_Evaluate_mode( void ); +/* + * _Thread_Get + * + * NOTE: If we are not using static inlines, this must be a real + * subroutine call. + */ + +#ifndef USE_INLINES +Thread_Control *_Thread_Get ( + Objects_Id id, + Objects_Locations *location +); +#endif + /* * _Thread_Idle_body * -- cgit v1.2.3