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 ++++---- 8 files changed, 32 insertions(+), 32 deletions(-) (limited to 'cpukit/posix/include/rtems') 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 ); -- cgit v1.2.3