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" --- c/src/exec/posix/inline/rtems/posix/cond.inl | 8 ++++---- c/src/exec/posix/inline/rtems/posix/intr.inl | 8 ++++---- c/src/exec/posix/inline/rtems/posix/key.inl | 8 ++++---- c/src/exec/posix/inline/rtems/posix/mqueue.inl | 10 +++++----- c/src/exec/posix/inline/rtems/posix/mutex.inl | 8 ++++---- c/src/exec/posix/inline/rtems/posix/priority.inl | 6 +++--- c/src/exec/posix/inline/rtems/posix/pthread.inl | 8 ++++---- c/src/exec/posix/inline/rtems/posix/semaphore.inl | 8 ++++---- 8 files changed, 32 insertions(+), 32 deletions(-) (limited to 'c/src/exec/posix/inline/rtems') diff --git a/c/src/exec/posix/inline/rtems/posix/cond.inl b/c/src/exec/posix/inline/rtems/posix/cond.inl index f6d55af7c6..34139e6dc7 100644 --- a/c/src/exec/posix/inline/rtems/posix/cond.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/intr.inl b/c/src/exec/posix/inline/rtems/posix/intr.inl index 56b1c9dd0b..e07c6dee6f 100644 --- a/c/src/exec/posix/inline/rtems/posix/intr.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/key.inl b/c/src/exec/posix/inline/rtems/posix/key.inl index 3b9c1e9e3c..bd373d6ec8 100644 --- a/c/src/exec/posix/inline/rtems/posix/key.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/mqueue.inl b/c/src/exec/posix/inline/rtems/posix/mqueue.inl index 140a37a6a6..0e68488da6 100644 --- a/c/src/exec/posix/inline/rtems/posix/mqueue.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/mutex.inl b/c/src/exec/posix/inline/rtems/posix/mutex.inl index f663eb3c7d..ecbf039a45 100644 --- a/c/src/exec/posix/inline/rtems/posix/mutex.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/priority.inl b/c/src/exec/posix/inline/rtems/posix/priority.inl index 7c6e940378..cbe340b35a 100644 --- a/c/src/exec/posix/inline/rtems/posix/priority.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/pthread.inl b/c/src/exec/posix/inline/rtems/posix/pthread.inl index 2c2a2d5d7b..daba647cce 100644 --- a/c/src/exec/posix/inline/rtems/posix/pthread.inl +++ b/c/src/exec/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/c/src/exec/posix/inline/rtems/posix/semaphore.inl b/c/src/exec/posix/inline/rtems/posix/semaphore.inl index 33af0bd000..c7e9e5fa44 100644 --- a/c/src/exec/posix/inline/rtems/posix/semaphore.inl +++ b/c/src/exec/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