summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-07-03 14:20:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-07-03 14:20:03 +0000
commit503dc05890731954e899d63a8baecabac573e22b (patch)
treec93178f7485d46cb9c10865f9d3bcf33dc9df2f9 /cpukit/posix/inline/rtems
parent5fc0dc11a0eb0f9a5b4d5b7e1b0c9eb3ebe5dfd9 (diff)
downloadrtems-503dc05890731954e899d63a8baecabac573e22b.tar.bz2
switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE"
Diffstat (limited to 'cpukit/posix/inline/rtems')
-rw-r--r--cpukit/posix/inline/rtems/posix/cond.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/intr.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/key.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/mqueue.inl10
-rw-r--r--cpukit/posix/inline/rtems/posix/mutex.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/priority.inl6
-rw-r--r--cpukit/posix/inline/rtems/posix/pthread.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/semaphore.inl8
8 files changed, 32 insertions, 32 deletions
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
)
{