From 503dc05890731954e899d63a8baecabac573e22b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Jul 1996 14:20:03 +0000 Subject: switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE" --- cpukit/posix/include/rtems/posix/cond.h | 8 ++++---- cpukit/posix/include/rtems/posix/intr.h | 8 ++++---- cpukit/posix/include/rtems/posix/key.h | 8 ++++---- cpukit/posix/include/rtems/posix/mqueue.h | 10 +++++----- cpukit/posix/include/rtems/posix/mutex.h | 8 ++++---- cpukit/posix/include/rtems/posix/priority.h | 6 +++--- cpukit/posix/include/rtems/posix/pthread.h | 8 ++++---- cpukit/posix/include/rtems/posix/semaphore.h | 8 ++++---- cpukit/posix/inline/rtems/posix/cond.inl | 8 ++++---- cpukit/posix/inline/rtems/posix/intr.inl | 8 ++++---- cpukit/posix/inline/rtems/posix/key.inl | 8 ++++---- cpukit/posix/inline/rtems/posix/mqueue.inl | 10 +++++----- cpukit/posix/inline/rtems/posix/mutex.inl | 8 ++++---- cpukit/posix/inline/rtems/posix/priority.inl | 6 +++--- cpukit/posix/inline/rtems/posix/pthread.inl | 8 ++++---- cpukit/posix/inline/rtems/posix/semaphore.inl | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h index 137871e0dc..5533aff455 100644 --- a/cpukit/posix/include/rtems/posix/cond.h +++ b/cpukit/posix/include/rtems/posix/cond.h @@ -63,7 +63,7 @@ void _POSIX_Condition_variables_Manager_initialization( * the inactive chain of free condition variable control blocks. */ -STATIC INLINE POSIX_Condition_variables_Control * +RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control * _POSIX_Condition_variables_Allocate( void ); /* @@ -75,7 +75,7 @@ STATIC INLINE POSIX_Condition_variables_Control * * inactive chain of free condition variable control blocks. */ -STATIC INLINE void _POSIX_Condition_variables_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free ( POSIX_Condition_variables_Control *the_condition_variable ); @@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free ( * to OBJECTS_ERROR and the_condition variable is undefined. */ -STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( +RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( Objects_Id *id, Objects_Locations *location ); @@ -107,7 +107,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get * and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Condition_variables_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null ( POSIX_Condition_variables_Control *the_condition_variable ); diff --git a/cpukit/posix/include/rtems/posix/intr.h b/cpukit/posix/include/rtems/posix/intr.h index 68c336ac0a..f5d0fa2a69 100644 --- a/cpukit/posix/include/rtems/posix/intr.h +++ b/cpukit/posix/include/rtems/posix/intr.h @@ -84,7 +84,7 @@ void _POSIX_Interrupt_Manager_initialization( * the inactive chain of free interrupt handler control blocks. */ -STATIC INLINE POSIX_Interrupt_Handler_control * +RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control * _POSIX_Interrupt_Allocate( void ); /* @@ -96,7 +96,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control * * inactive chain of free interrupt handler control blocks. */ -STATIC INLINE void _POSIX_Interrupt_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free ( POSIX_Interrupt_Handler_control *the_intr ); @@ -114,7 +114,7 @@ STATIC INLINE void _POSIX_Interrupt_Free ( * to OBJECTS_ERROR and the_intr is undefined. */ -STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( +RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( Objects_Id id, Objects_Locations *location ); @@ -127,7 +127,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( * This function returns TRUE if the_intr is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Interrupt_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null ( POSIX_Interrupt_Handler_control *the_intr ); diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h index b552fec1d2..23091cd714 100644 --- a/cpukit/posix/include/rtems/posix/key.h +++ b/cpukit/posix/include/rtems/posix/key.h @@ -79,7 +79,7 @@ void _POSIX_Keys_Run_destructors( * the inactive chain of free keys control blocks. */ -STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ); +RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ); /* * _POSIX_Keys_Free @@ -90,7 +90,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ); * inactive chain of free keys control blocks. */ -STATIC INLINE void _POSIX_Keys_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free ( POSIX_Keys_Control *the_key ); @@ -108,7 +108,7 @@ STATIC INLINE void _POSIX_Keys_Free ( * to OBJECTS_ERROR and the_key is undefined. */ -STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get ( +RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get ( Objects_Id id, Objects_Locations *location ); @@ -121,7 +121,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get ( * This function returns TRUE if the_key is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Keys_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null ( POSIX_Keys_Control *the_key ); diff --git a/cpukit/posix/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h index 92691ce6dd..8ef53acd65 100644 --- a/cpukit/posix/include/rtems/posix/mqueue.h +++ b/cpukit/posix/include/rtems/posix/mqueue.h @@ -103,7 +103,7 @@ int _POSIX_Message_queue_Send_support( * the inactive chain of free message queue control blocks. */ -STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ); +RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ); /* * _POSIX_Message_queue_Free @@ -114,7 +114,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ) * inactive chain of free message queue control blocks. */ -STATIC INLINE void _POSIX_Message_queue_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free ( POSIX_Message_queue_Control *the_mq ); @@ -132,7 +132,7 @@ STATIC INLINE void _POSIX_Message_queue_Free ( * to OBJECTS_ERROR and the_mq is undefined. */ -STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( +RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( Objects_Id id, Objects_Locations *location ); @@ -145,7 +145,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( * This function returns TRUE if the_message_queue is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Message_queue_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null ( POSIX_Message_queue_Control *the_mq ); @@ -170,7 +170,7 @@ int _POSIX_Message_queue_Name_to_id( * XXX */ -STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core( +RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core( unsigned int priority ); diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h index 0fb8ed6d5a..6c065ea26c 100644 --- a/cpukit/posix/include/rtems/posix/mutex.h +++ b/cpukit/posix/include/rtems/posix/mutex.h @@ -62,7 +62,7 @@ void _POSIX_Mutex_Manager_initialization( * the inactive chain of free mutexes control blocks. */ -STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ); +RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ); /* * _POSIX_Mutex_Free @@ -73,7 +73,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ); * inactive chain of free mutexes control blocks. */ -STATIC INLINE void _POSIX_Mutex_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( POSIX_Mutex_Control *the_mutex ); @@ -91,7 +91,7 @@ STATIC INLINE void _POSIX_Mutex_Free ( * to OBJECTS_ERROR and the_mutex is undefined. */ -STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( +RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( Objects_Id *id, Objects_Locations *location ); @@ -104,7 +104,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( * This function returns TRUE if the_mutex is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Mutex_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h index 1417c98589..ce925b6d58 100644 --- a/cpukit/posix/include/rtems/posix/priority.h +++ b/cpukit/posix/include/rtems/posix/priority.h @@ -21,15 +21,15 @@ #define POSIX_SCHEDULER_MINIMUM_PRIORITY (1) -STATIC INLINE boolean _POSIX_Priority_Is_valid( +RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid( int priority ); -STATIC INLINE Priority_Control _POSIX_Priority_To_core( +RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( int priority ); -STATIC INLINE int _POSIX_Priority_From_core( +RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core( Priority_Control priority ); diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h index 7e6eea2be7..2f1476ac2d 100644 --- a/cpukit/posix/include/rtems/posix/pthread.h +++ b/cpukit/posix/include/rtems/posix/pthread.h @@ -63,7 +63,7 @@ void _POSIX_Threads_Manager_initialization( * the inactive chain of free pthread control blocks. */ -STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void ); +RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void ); /* * _POSIX_Threads_Free @@ -74,7 +74,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void ); * inactive chain of free pthread control blocks. */ -STATIC INLINE void _POSIX_Threads_Free( +RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free( Thread_Control *the_pthread ); @@ -92,7 +92,7 @@ STATIC INLINE void _POSIX_Threads_Free( * to OBJECTS_ERROR and the_pthread is undefined. */ -STATIC INLINE Thread_Control *_POSIX_Threads_Get( +RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get( pthread_t id, Objects_Locations *location ); @@ -105,7 +105,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get( * This function returns TRUE if the_pthread is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Threads_Is_null( +RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null( Thread_Control *the_pthread ); diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index b2334d8f66..59679e0d09 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -64,7 +64,7 @@ void _POSIX_Semaphore_Manager_initialization( * the inactive chain of free semaphore control blocks. */ -STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ); +RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ); /* * _POSIX_Semaphore_Free @@ -75,7 +75,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ); * inactive chain of free semaphore control blocks. */ -STATIC INLINE void _POSIX_Semaphore_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free ( POSIX_Semaphore_Control *the_semaphore ); @@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Semaphore_Free ( * to OBJECTS_ERROR and the_semaphore is undefined. */ -STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( +RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( Objects_Id *id, Objects_Locations *location ); @@ -106,7 +106,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. */ -STATIC INLINE boolean _POSIX_Semaphore_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null ( POSIX_Semaphore_Control *the_semaphore ); diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl index f6d55af7c6..34139e6dc7 100644 --- a/cpukit/posix/inline/rtems/posix/cond.inl +++ b/cpukit/posix/inline/rtems/posix/cond.inl @@ -22,7 +22,7 @@ * _POSIX_Condition_variables_Allocate */ -STATIC INLINE POSIX_Condition_variables_Control +RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Allocate( void ) { return (POSIX_Condition_variables_Control *) @@ -34,7 +34,7 @@ STATIC INLINE POSIX_Condition_variables_Control * _POSIX_Condition_variables_Free */ -STATIC INLINE void _POSIX_Condition_variables_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free ( POSIX_Condition_variables_Control *the_condition_variable ) { @@ -49,7 +49,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free ( * _POSIX_Condition_variables_Get */ -STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( +RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( Objects_Id *id, Objects_Locations *location ) @@ -64,7 +64,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get * _POSIX_Condition_variables_Is_null */ -STATIC INLINE boolean _POSIX_Condition_variables_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null ( POSIX_Condition_variables_Control *the_condition_variable ) { diff --git a/cpukit/posix/inline/rtems/posix/intr.inl b/cpukit/posix/inline/rtems/posix/intr.inl index 56b1c9dd0b..e07c6dee6f 100644 --- a/cpukit/posix/inline/rtems/posix/intr.inl +++ b/cpukit/posix/inline/rtems/posix/intr.inl @@ -22,7 +22,7 @@ * _POSIX_Interrupt_Allocate */ -STATIC INLINE POSIX_Interrupt_Handler_control * +RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control * _POSIX_Interrupt_Allocate( void ) { return (POSIX_Interrupt_Handler_control *) @@ -34,7 +34,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control * * _POSIX_Interrupt_Free */ -STATIC INLINE void _POSIX_Interrupt_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free ( POSIX_Interrupt_Handler_control *the_intr ) { @@ -46,7 +46,7 @@ STATIC INLINE void _POSIX_Interrupt_Free ( * _POSIX_Interrupt_Get */ -STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( +RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( Objects_Id id, Objects_Locations *location ) @@ -60,7 +60,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( * _POSIX_Interrupt_Is_null */ -STATIC INLINE boolean _POSIX_Interrupt_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null ( POSIX_Interrupt_Handler_control *the_intr ) { diff --git a/cpukit/posix/inline/rtems/posix/key.inl b/cpukit/posix/inline/rtems/posix/key.inl index 3b9c1e9e3c..bd373d6ec8 100644 --- a/cpukit/posix/inline/rtems/posix/key.inl +++ b/cpukit/posix/inline/rtems/posix/key.inl @@ -22,7 +22,7 @@ * _POSIX_Keys_Allocate */ -STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) +RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) { return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information ); } @@ -32,7 +32,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) * _POSIX_Keys_Free */ -STATIC INLINE void _POSIX_Keys_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free ( POSIX_Keys_Control *the_key ) { @@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Keys_Free ( * _POSIX_Keys_Get */ -STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get ( +RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get ( Objects_Id id, Objects_Locations *location ) @@ -58,7 +58,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get ( * _POSIX_Keys_Is_null */ -STATIC INLINE boolean _POSIX_Keys_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null ( POSIX_Keys_Control *the_key ) { diff --git a/cpukit/posix/inline/rtems/posix/mqueue.inl b/cpukit/posix/inline/rtems/posix/mqueue.inl index 140a37a6a6..0e68488da6 100644 --- a/cpukit/posix/inline/rtems/posix/mqueue.inl +++ b/cpukit/posix/inline/rtems/posix/mqueue.inl @@ -22,7 +22,7 @@ * _POSIX_Message_queue_Allocate */ -STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ) +RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ) { return (POSIX_Message_queue_Control *) _Objects_Allocate( &_POSIX_Message_queue_Information ); @@ -33,7 +33,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ) * _POSIX_Message_queue_Free */ -STATIC INLINE void _POSIX_Message_queue_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free ( POSIX_Message_queue_Control *the_mq ) { @@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Message_queue_Free ( * _POSIX_Message_queue_Get */ -STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( +RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( Objects_Id id, Objects_Locations *location ) @@ -59,7 +59,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( * _POSIX_Message_queue_Is_null */ -STATIC INLINE boolean _POSIX_Message_queue_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null ( POSIX_Message_queue_Control *the_mq ) { @@ -71,7 +71,7 @@ STATIC INLINE boolean _POSIX_Message_queue_Is_null ( * _POSIX_Message_queue_Priority_to_core */ -STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core( +RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core( unsigned int priority ) { diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl index f663eb3c7d..ecbf039a45 100644 --- a/cpukit/posix/inline/rtems/posix/mutex.inl +++ b/cpukit/posix/inline/rtems/posix/mutex.inl @@ -22,7 +22,7 @@ * _POSIX_Mutex_Allocate */ -STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ) +RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ) { return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information ); } @@ -32,7 +32,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ) * _POSIX_Mutex_Free */ -STATIC INLINE void _POSIX_Mutex_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( POSIX_Mutex_Control *the_mutex ) { @@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Mutex_Free ( * _POSIX_Mutex_Get */ -STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( +RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( Objects_Id *id, Objects_Locations *location ) @@ -76,7 +76,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( * _POSIX_Mutex_Is_null */ -STATIC INLINE boolean _POSIX_Mutex_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ) { diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl index 7c6e940378..cbe340b35a 100644 --- a/cpukit/posix/inline/rtems/posix/priority.inl +++ b/cpukit/posix/inline/rtems/posix/priority.inl @@ -13,21 +13,21 @@ * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. */ -STATIC INLINE boolean _POSIX_Priority_Is_valid( +RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid( int priority ) { return (boolean) (priority >= 1 && priority <= 255); } -STATIC INLINE Priority_Control _POSIX_Priority_To_core( +RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( int priority ) { return (Priority_Control) (256 - priority); } -STATIC INLINE int _POSIX_Priority_From_core( +RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core( Priority_Control priority ) { diff --git a/cpukit/posix/inline/rtems/posix/pthread.inl b/cpukit/posix/inline/rtems/posix/pthread.inl index 2c2a2d5d7b..daba647cce 100644 --- a/cpukit/posix/inline/rtems/posix/pthread.inl +++ b/cpukit/posix/inline/rtems/posix/pthread.inl @@ -22,7 +22,7 @@ * _POSIX_Threads_Allocate */ -STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void ) +RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void ) { return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information ); } @@ -32,7 +32,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void ) * _POSIX_Threads_Free */ -STATIC INLINE void _POSIX_Threads_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free ( Thread_Control *the_pthread ) { @@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Threads_Free ( * _POSIX_Threads_Get */ -STATIC INLINE Thread_Control *_POSIX_Threads_Get ( +RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get ( pthread_t id, Objects_Locations *location ) @@ -58,7 +58,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get ( * _POSIX_Threads_Is_null */ -STATIC INLINE boolean _POSIX_Threads_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null ( Thread_Control *the_pthread ) { diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl index 33af0bd000..c7e9e5fa44 100644 --- a/cpukit/posix/inline/rtems/posix/semaphore.inl +++ b/cpukit/posix/inline/rtems/posix/semaphore.inl @@ -22,7 +22,7 @@ * _POSIX_Semaphore_Allocate */ -STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ) +RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ) { return (POSIX_Semaphore_Control *) _Objects_Allocate( &_POSIX_Semaphore_Information ); @@ -33,7 +33,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ) * _POSIX_Semaphore_Free */ -STATIC INLINE void _POSIX_Semaphore_Free ( +RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free ( POSIX_Semaphore_Control *the_semaphore ) { @@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Semaphore_Free ( * _POSIX_Semaphore_Get */ -STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( +RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( Objects_Id *id, Objects_Locations *location ) @@ -59,7 +59,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( * _POSIX_Semaphore_Is_null */ -STATIC INLINE boolean _POSIX_Semaphore_Is_null ( +RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null ( POSIX_Semaphore_Control *the_semaphore ) { -- cgit v1.2.3