From 874297f3bea7761cf05ae26540b7a9e21d4a6e1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 10:01:03 +0000 Subject: Remove stray white spaces. --- cpukit/posix/include/rtems/posix/cond.h | 36 +++++++++++----------- cpukit/posix/include/rtems/posix/intr.h | 46 ++++++++++++++-------------- cpukit/posix/include/rtems/posix/key.h | 32 +++++++++---------- cpukit/posix/include/rtems/posix/mqueue.h | 44 +++++++++++++------------- cpukit/posix/include/rtems/posix/mutex.h | 32 +++++++++---------- cpukit/posix/include/rtems/posix/posixapi.h | 6 ++-- cpukit/posix/include/rtems/posix/priority.h | 2 +- cpukit/posix/include/rtems/posix/psignal.h | 2 +- cpukit/posix/include/rtems/posix/pthread.h | 32 +++++++++---------- cpukit/posix/include/rtems/posix/semaphore.h | 30 +++++++++--------- cpukit/posix/include/rtems/posix/threadsup.h | 4 +-- cpukit/posix/include/rtems/posix/time.h | 6 ++-- 12 files changed, 136 insertions(+), 136 deletions(-) (limited to 'cpukit/posix/include/rtems/posix') diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h index 433a063f0c..c283b84b08 100644 --- a/cpukit/posix/include/rtems/posix/cond.h +++ b/cpukit/posix/include/rtems/posix/cond.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_CONDITION_VARIABLES_h #define __RTEMS_POSIX_CONDITION_VARIABLES_h - + #ifdef __cplusplus extern "C" { #endif @@ -33,7 +33,7 @@ extern "C" { /* * Data Structure used to manage a POSIX condition variable */ - + typedef struct { Objects_Control Object; int process_shared; @@ -45,7 +45,7 @@ typedef struct { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Condition_variables_Information; /* @@ -53,7 +53,7 @@ POSIX_EXTERN Objects_Information _POSIX_Condition_variables_Information; */ extern const pthread_condattr_t _POSIX_Condition_variables_Default_attributes; - + /* * _POSIX_Condition_variables_Manager_initialization * @@ -61,11 +61,11 @@ extern const pthread_condattr_t _POSIX_Condition_variables_Default_attributes; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Condition_variables_Manager_initialization( uint32_t maximum_condition_variables ); - + /* * _POSIX_Condition_variables_Allocate * @@ -74,10 +74,10 @@ void _POSIX_Condition_variables_Manager_initialization( * This function allocates a condition variable control block from * the inactive chain of free condition variable control blocks. */ - -RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control * + +RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control * _POSIX_Condition_variables_Allocate( void ); - + /* * _POSIX_Condition_variables_Free * @@ -86,17 +86,17 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control * * This routine frees a condition variable control block to the * inactive chain of free condition variable control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free ( POSIX_Condition_variables_Control *the_condition_variable ); - + /* * _POSIX_Condition_variables_Get * * DESCRIPTION: * - * This function maps condition variable IDs to condition variable control + * This function maps condition variable IDs to condition variable control * blocks. If ID corresponds to a local condition variable, then it returns * the_condition variable control pointer which maps to ID and location * is set to OBJECTS_LOCAL. if the condition variable ID is global and @@ -104,23 +104,23 @@ RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free ( * and the_condition variable is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_condition variable is undefined. */ - + #if 0 RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( Objects_Id *id, Objects_Locations *location ); #endif - + /* * _POSIX_Condition_variables_Is_null * * DESCRIPTION: * - * This function returns TRUE if the_condition variable is NULL + * This function returns TRUE if the_condition variable is NULL * and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null ( POSIX_Condition_variables_Control *the_condition_variable ); @@ -163,6 +163,6 @@ int _POSIX_Condition_variables_Wait_support( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/intr.h b/cpukit/posix/include/rtems/posix/intr.h index 8768887215..f6f63a4797 100644 --- a/cpukit/posix/include/rtems/posix/intr.h +++ b/cpukit/posix/include/rtems/posix/intr.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_KEY_h #define __RTEMS_POSIX_KEY_h - + #ifdef __cplusplus extern "C" { #endif @@ -33,15 +33,15 @@ typedef struct { int deferred_count; Chain_Control Handlers; } POSIX_Interrupt_Control; - + /* * Data Structure used to manage a POSIX Interrupt Handler */ - + typedef struct { Objects_Control Object; - int is_active; - intr_t vector; + int is_active; + intr_t vector; Thread_Control *server; int (*handler)( void *area ); volatile void *user_data_area; @@ -51,7 +51,7 @@ typedef struct { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Interrupt_Handlers_Information; /* @@ -59,9 +59,9 @@ POSIX_EXTERN Objects_Information _POSIX_Interrupt_Handlers_Information; * interrupt handlers installed on each vector. */ -POSIX_EXTERN POSIX_Interrupt_Control +POSIX_EXTERN POSIX_Interrupt_Control _POSIX_Interrupt_Information[ ISR_NUMBER_OF_VECTORS ]; - + /* * _POSIX_Interrupt_Manager_initialization * @@ -69,11 +69,11 @@ POSIX_EXTERN POSIX_Interrupt_Control * * This routine performs the initialization necessary for this manager. */ - -void _POSIX_Interrupt_Manager_initialization( + +void _POSIX_Interrupt_Manager_initialization( uint32_t maximum_interrupt_handlers ); - + /* * _POSIX_Interrupt_Allocate * @@ -82,10 +82,10 @@ void _POSIX_Interrupt_Manager_initialization( * This function allocates a interrupt handler control block from * the inactive chain of free interrupt handler control blocks. */ - + RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control * _POSIX_Interrupt_Allocate( void ); - + /* * _POSIX_Interrupt_Free * @@ -94,17 +94,17 @@ RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control * * This routine frees a interrupt handler control block to the * inactive chain of free interrupt handler control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free ( POSIX_Interrupt_Handler_control *the_intr ); - + /* * _POSIX_Interrupt_Get * * DESCRIPTION: * - * This function maps interrupt handler IDs to interrupt handler control + * This function maps interrupt handler IDs to interrupt handler control * blocks. If ID corresponds to a local interrupt handler, then it returns * the_intr control pointer which maps to ID and location * is set to OBJECTS_LOCAL. if the interrupt handler ID is global and @@ -112,12 +112,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free ( * and the_intr is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_intr is undefined. */ - + RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( Objects_Id id, Objects_Locations *location ); - + /* * _POSIX_Interrupt_Is_null * @@ -125,11 +125,11 @@ RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get ( * * This function returns TRUE if the_intr is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null ( POSIX_Interrupt_Handler_control *the_intr ); - + /* * _POSIX_Interrupt_Handler * @@ -137,7 +137,7 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null ( * * This function XXX. */ - + void _POSIX_Interrupt_Handler( ISR_Vector_number vector ); @@ -147,6 +147,6 @@ void _POSIX_Interrupt_Handler( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h index 1f6bf3bb86..be9c9579f1 100644 --- a/cpukit/posix/include/rtems/posix/key.h +++ b/cpukit/posix/include/rtems/posix/key.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_KEY_h #define __RTEMS_POSIX_KEY_h - + #ifdef __cplusplus extern "C" { #endif @@ -26,7 +26,7 @@ extern "C" { * NOTE: The Values is a table indexed by the index portion of the * ID of the currently executing thread. */ - + typedef struct { Objects_Control Object; boolean is_active; @@ -38,9 +38,9 @@ typedef struct { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Keys_Information; - + /* * _POSIX_Keys_Manager_initialization * @@ -48,11 +48,11 @@ POSIX_EXTERN Objects_Information _POSIX_Keys_Information; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Key_Manager_initialization( uint32_t maximum_keys ); - + /* * _POSIX_Keys_Run_destructors * @@ -64,7 +64,7 @@ void _POSIX_Key_Manager_initialization( * NOTE: This is the routine executed when a thread exits to * run through all the keys and do the destructor action. */ - + void _POSIX_Keys_Run_destructors( Thread_Control *thread ); @@ -77,9 +77,9 @@ void _POSIX_Keys_Run_destructors( * This function allocates a keys control block from * the inactive chain of free keys control blocks. */ - + RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ); - + /* * _POSIX_Keys_Free * @@ -88,11 +88,11 @@ RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ); * This routine frees a keys control block to the * inactive chain of free keys control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free ( POSIX_Keys_Control *the_key ); - + /* * _POSIX_Keys_Get * @@ -106,12 +106,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free ( * and the_key is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_key is undefined. */ - + RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get ( Objects_Id id, Objects_Locations *location ); - + /* * _POSIX_Keys_Is_null * @@ -119,7 +119,7 @@ RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get ( * * This function returns TRUE if the_key is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null ( POSIX_Keys_Control *the_key ); @@ -129,6 +129,6 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null ( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h index 1d8f5211e0..547091f313 100644 --- a/cpukit/posix/include/rtems/posix/mqueue.h +++ b/cpukit/posix/include/rtems/posix/mqueue.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_MESSAGE_QUEUE_h #define __RTEMS_POSIX_MESSAGE_QUEUE_h - + #ifdef __cplusplus extern "C" { #endif @@ -28,7 +28,7 @@ extern "C" { /* * Data Structure used to manage a POSIX message queue */ - + typedef struct { Objects_Control Object; int process_shared; @@ -50,10 +50,10 @@ typedef struct { * this class of objects. The second item is used to manage the set * of "file descriptors" associated with the message queues. */ - + POSIX_EXTERN Objects_Information _POSIX_Message_queue_Information; POSIX_EXTERN Objects_Information _POSIX_Message_queue_Information_fds; - + /* * _POSIX_Message_queue_Manager_initialization * @@ -61,11 +61,11 @@ POSIX_EXTERN Objects_Information _POSIX_Message_queue_Information_fds; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Message_queue_Manager_initialization( uint32_t maximum_message_queues ); - + /* * * _POSIX_Message_queue_Create_support @@ -75,7 +75,7 @@ void _POSIX_Message_queue_Manager_initialization( * This routine performs the creation of a message queue utilizing the * core message queue. */ - + int _POSIX_Message_queue_Create_support( const char *name, int pshared, @@ -90,8 +90,8 @@ int _POSIX_Message_queue_Create_support( * * This routine supports the mq_unlink and mq_close routines by * doing most of the work involved with removing a message queue. - */ - + */ + void _POSIX_Message_queue_Delete( POSIX_Message_queue_Control *the_mq ); @@ -136,9 +136,9 @@ int _POSIX_Message_queue_Send_support( * This function allocates a message queue control block from * the inactive chain of free message queue control blocks. */ - + RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void ); - + /* * _POSIX_Message_queue_Free * @@ -147,11 +147,11 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( * This routine frees a message queue control block to the * inactive chain of free message queue control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free ( POSIX_Message_queue_Control *the_mq ); - + /* * _POSIX_Message_queue_Get * @@ -165,12 +165,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free ( * and the_message queue is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_mq is undefined. */ - + RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( Objects_Id id, Objects_Locations *location ); - + /* * _POSIX_Message_queue_Is_null * @@ -178,7 +178,7 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( * * This function returns TRUE if the_message_queue is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null ( POSIX_Message_queue_Control *the_mq ); @@ -199,24 +199,24 @@ int _POSIX_Message_queue_Name_to_id( /* * _POSIX_Message_queue_Priority_to_core - * + * * DESCRIPTION: * * XXX */ - + RTEMS_INLINE_ROUTINE CORE_message_queue_Submit_types _POSIX_Message_queue_Priority_to_core( unsigned int priority ); /* * _POSIX_Message_queue_Priority_from_core - * + * * DESCRIPTION: * * XXX */ - + RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core( CORE_message_queue_Submit_types priority ); @@ -243,6 +243,6 @@ int _POSIX_Message_queue_Translate_core_message_queue_return_code( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h index 510229cbc7..99911ac3c0 100644 --- a/cpukit/posix/include/rtems/posix/mutex.h +++ b/cpukit/posix/include/rtems/posix/mutex.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_MUTEX_h #define __RTEMS_POSIX_MUTEX_h - + #ifdef __cplusplus extern "C" { #endif @@ -26,7 +26,7 @@ extern "C" { /* * Data Structure used to manage a POSIX mutex */ - + typedef struct { Objects_Control Object; int process_shared; @@ -37,7 +37,7 @@ typedef struct { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Mutex_Information; /* @@ -45,7 +45,7 @@ POSIX_EXTERN Objects_Information _POSIX_Mutex_Information; */ extern const pthread_mutexattr_t _POSIX_Mutex_Default_attributes; - + /* * _POSIX_Mutex_Manager_initialization * @@ -53,11 +53,11 @@ extern const pthread_mutexattr_t _POSIX_Mutex_Default_attributes; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Mutex_Manager_initialization( uint32_t maximum_mutexes ); - + /* * _POSIX_Mutex_Allocate * @@ -66,9 +66,9 @@ void _POSIX_Mutex_Manager_initialization( * This function allocates a mutexes control block from * the inactive chain of free mutexes control blocks. */ - + RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ); - + /* * _POSIX_Mutex_Free * @@ -77,11 +77,11 @@ RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void ); * This routine frees a mutexes control block to the * inactive chain of free mutexes control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( POSIX_Mutex_Control *the_mutex ); - + #if 0 /* * _POSIX_Mutex_Get @@ -96,12 +96,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( * and the_mutex is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_mutex is undefined. */ - + RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( Objects_Id *id, Objects_Locations *location ); - + /* * _POSIX_Mutex_Is_null * @@ -109,7 +109,7 @@ RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( * * This function returns TRUE if the_mutex is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); @@ -119,7 +119,7 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( * _POSIX_Mutex_Lock_support * * DESCRIPTION: - * + * * A support routine which implements guts of the blocking, non-blocking, and * timed wait version of mutex lock. */ @@ -152,6 +152,6 @@ int _POSIX_Mutex_From_core_mutex_status( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/posixapi.h b/cpukit/posix/include/rtems/posix/posixapi.h index 7545d440bb..81fd227538 100644 --- a/cpukit/posix/include/rtems/posix/posixapi.h +++ b/cpukit/posix/include/rtems/posix/posixapi.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __POSIX_API_h #define __POSIX_API_h - + #include /*PAGE @@ -24,7 +24,7 @@ * * XXX */ - + void _POSIX_API_Initialize( rtems_configuration_table *configuration_table ); diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h index c0253f3bab..bb4b9cfb19 100644 --- a/cpukit/posix/include/rtems/posix/priority.h +++ b/cpukit/posix/include/rtems/posix/priority.h @@ -24,7 +24,7 @@ */ #define POSIX_SCHEDULER_MAXIMUM_PRIORITY (254) - + #define POSIX_SCHEDULER_MINIMUM_PRIORITY (1) RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid( diff --git a/cpukit/posix/include/rtems/posix/psignal.h b/cpukit/posix/include/rtems/posix/psignal.h index c15ca78d34..905b243e50 100644 --- a/cpukit/posix/include/rtems/posix/psignal.h +++ b/cpukit/posix/include/rtems/posix/psignal.h @@ -74,7 +74,7 @@ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ); -boolean _POSIX_signals_Unblock_thread( +boolean _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h index a1fbdc0acd..9a5ff96923 100644 --- a/cpukit/posix/include/rtems/posix/pthread.h +++ b/cpukit/posix/include/rtems/posix/pthread.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_THREADS_h #define __RTEMS_POSIX_THREADS_h - + #ifdef __cplusplus extern "C" { #endif @@ -29,19 +29,19 @@ extern "C" { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Threads_Information; /* * These are used to manage the user initialization threads. */ - -POSIX_EXTERN posix_initialization_threads_table + +POSIX_EXTERN posix_initialization_threads_table *_POSIX_Threads_User_initialization_threads; POSIX_EXTERN uint32_t _POSIX_Threads_Number_of_initialization_threads; extern const pthread_attr_t _POSIX_Threads_Default_attributes; - + /* * _POSIX_Threads_Manager_initialization * @@ -49,13 +49,13 @@ extern const pthread_attr_t _POSIX_Threads_Default_attributes; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Threads_Manager_initialization( uint32_t maximum_pthreads, uint32_t number_of_initialization_threads, posix_initialization_threads_table *user_threads ); - + /* * _POSIX_Threads_Allocate * @@ -64,9 +64,9 @@ void _POSIX_Threads_Manager_initialization( * This function allocates a pthread control block from * the inactive chain of free pthread control blocks. */ - + RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void ); - + /* * _POSIX_Threads_Free * @@ -75,11 +75,11 @@ RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void ); * This routine frees a pthread control block to the * inactive chain of free pthread control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free( Thread_Control *the_pthread ); - + /* * _POSIX_Threads_Get * @@ -93,12 +93,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free( * and the_pthread is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_pthread is undefined. */ - + RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get( pthread_t id, Objects_Locations *location ); - + /* * _POSIX_Threads_Is_null * @@ -106,7 +106,7 @@ RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get( * * This function returns TRUE if the_pthread is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null( Thread_Control *the_pthread ); @@ -144,6 +144,6 @@ void _POSIX_Threads_Sporadic_budget_TSR( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index 1f30bc7e0a..4505efdf9d 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -12,10 +12,10 @@ * * $Id$ */ - + #ifndef __RTEMS_POSIX_SEMAPHORE_h #define __RTEMS_POSIX_SEMAPHORE_h - + #ifdef __cplusplus extern "C" { #endif @@ -28,7 +28,7 @@ extern "C" { /* * Data Structure used to manage a POSIX semaphore */ - + typedef struct { Objects_Control Object; int process_shared; @@ -42,9 +42,9 @@ typedef struct { * The following defines the information control block used to manage * this class of objects. */ - + POSIX_EXTERN Objects_Information _POSIX_Semaphore_Information; - + /* * _POSIX_Semaphore_Manager_initialization * @@ -52,11 +52,11 @@ POSIX_EXTERN Objects_Information _POSIX_Semaphore_Information; * * This routine performs the initialization necessary for this manager. */ - + void _POSIX_Semaphore_Manager_initialization( uint32_t maximum_semaphorees ); - + /* * _POSIX_Semaphore_Allocate * @@ -65,9 +65,9 @@ void _POSIX_Semaphore_Manager_initialization( * This function allocates a semaphore control block from * the inactive chain of free semaphore control blocks. */ - + RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ); - + /* * _POSIX_Semaphore_Free * @@ -76,11 +76,11 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ); * This routine frees a semaphore control block to the * inactive chain of free semaphore control blocks. */ - + RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free ( POSIX_Semaphore_Control *the_semaphore ); - + /* * _POSIX_Semaphore_Get * @@ -94,12 +94,12 @@ RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free ( * and the_semaphore is undefined. Otherwise, location is set * to OBJECTS_ERROR and the_semaphore is undefined. */ - + RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( sem_t *id, Objects_Locations *location ); - + /* * _POSIX_Semaphore_Is_null * @@ -107,7 +107,7 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( * * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. */ - + RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null ( POSIX_Semaphore_Control *the_semaphore ); @@ -175,6 +175,6 @@ int _POSIX_Semaphore_Name_to_id( #ifdef __cplusplus } #endif - + #endif /* end of include file */ diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h index 971675f41f..3cb25b3982 100644 --- a/cpukit/posix/include/rtems/posix/threadsup.h +++ b/cpukit/posix/include/rtems/posix/threadsup.h @@ -24,14 +24,14 @@ typedef struct { #if 0 /* - * POSIX Interrupts + * POSIX Interrupts */ uint32_t interrupts_installed; CORE_semaphore_Control Interrupt_Semaphore; #endif /* - * POSIX Cancelability + * POSIX Cancelability */ int cancelability_state; int cancelability_type; diff --git a/cpukit/posix/include/rtems/posix/time.h b/cpukit/posix/include/rtems/posix/time.h index 0e87db388e..83201ec784 100644 --- a/cpukit/posix/include/rtems/posix/time.h +++ b/cpukit/posix/include/rtems/posix/time.h @@ -13,7 +13,7 @@ * Seconds from January 1, 1970 to January 1, 1988. Used to account for * differences between POSIX API and RTEMS core. */ - + #define POSIX_TIME_SECONDS_1970_THROUGH_1988 \ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ (4 * TOD_SECONDS_PER_DAY)) @@ -22,7 +22,7 @@ * * _POSIX_Timespec_subtract */ - + void _POSIX_Timespec_subtract( const struct timespec *the_start, const struct timespec *end, @@ -41,7 +41,7 @@ Watchdog_Interval _POSIX_Timespec_to_interval( * * _POSIX_Interval_to_timespec */ - + void _POSIX_Interval_to_timespec( Watchdog_Interval ticks, struct timespec *time -- cgit v1.2.3