diff options
Diffstat (limited to 'cpukit/posix/include/rtems/posix/barrier.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/barrier.h | 51 |
1 files changed, 9 insertions, 42 deletions
diff --git a/cpukit/posix/include/rtems/posix/barrier.h b/cpukit/posix/include/rtems/posix/barrier.h index 73c63f7162..3ad9bf82d8 100644 --- a/cpukit/posix/include/rtems/posix/barrier.h +++ b/cpukit/posix/include/rtems/posix/barrier.h @@ -25,6 +25,13 @@ #ifndef _RTEMS_POSIX_BARRIER_H #define _RTEMS_POSIX_BARRIER_H +#include <rtems/score/object.h> +#include <rtems/score/corebarrier.h> + +#ifdef __cplusplus +extern "C" { +#endif + /** * @defgroup POSIXBarrier POSIX Barriers * @@ -36,13 +43,6 @@ */ /**@{**/ -#ifdef __cplusplus -extern "C" { -#endif - -#include <rtems/score/object.h> -#include <rtems/score/corebarrier.h> - /** * This type defines the control block used to manage each barrier. */ @@ -54,44 +54,11 @@ typedef struct { CORE_barrier_Control Barrier; } POSIX_Barrier_Control; -/** - * The following defines the information control block used to manage - * this class of objects. - */ - -POSIX_EXTERN Objects_Information _POSIX_Barrier_Information; - -/** - * @brief POSIX barrier manager initialization. - * - * This routine performs the initialization necessary for this manager. - */ - -void _POSIX_Barrier_Manager_initialization(void); - -/** - * @brief POSIX translate barrier return code. - * - * This routine translates SuperCore Barrier status codes into the - * corresponding POSIX ones. - * - * @param[in] the_barrier_status is the SuperCore status. - * - * @return the corresponding POSIX status - */ -int _POSIX_Barrier_Translate_core_barrier_return_code( - CORE_barrier_Status the_barrier_status -); - -#ifndef __RTEMS_APPLICATION__ -#include <rtems/posix/barrier.inl> -#endif - -/** @} */ - #ifdef __cplusplus } #endif +/** @} */ + #endif /* end of include file */ |