From 395a49e199882f0461233465a5db56ab06d0cb28 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 10:12:21 +0100 Subject: rtems: Move internal structures to barrierdata.h Update #3598. --- cpukit/include/rtems/rtems/barrier.h | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) (limited to 'cpukit/include/rtems/rtems/barrier.h') diff --git a/cpukit/include/rtems/rtems/barrier.h b/cpukit/include/rtems/rtems/barrier.h index 2eea90fa41..7422f78931 100644 --- a/cpukit/include/rtems/rtems/barrier.h +++ b/cpukit/include/rtems/rtems/barrier.h @@ -1,21 +1,9 @@ /** - * @file rtems/rtems/barrier.h + * @file * - * @defgroup ClassicBarrier Barriers - * - * @ingroup ClassicRTEMS - * @brief Classic API Barrier Manager + * @ingroup ClassicBarrier * - * This include file contains all the constants and structures associated - * with the Barrier Manager. - * - * Directives provided are: - * - * - create a barrier - * - get an ID of a barrier - * - delete a barrier - * - wait for a barrier - * - signal a barrier + * @brief Classic Barrier Manager API */ /* COPYRIGHT (c) 1989-2008. @@ -29,11 +17,9 @@ #ifndef _RTEMS_RTEMS_BARRIER_H #define _RTEMS_RTEMS_BARRIER_H -#include -#include #include -#include -#include +#include +#include #ifdef __cplusplus extern "C" { @@ -49,18 +35,6 @@ extern "C" { */ /**@{*/ -/** - * This type defines the control block used to manage each barrier. - */ -typedef struct { - /** This is used to manage a barrier as an object. */ - Objects_Control Object; - /** This is used to implement the barrier. */ - CORE_barrier_Control Barrier; - /** This is used to specify the attributes of a barrier. */ - rtems_attribute attribute_set; -} Barrier_Control; - /** * @brief RTEMS Create Barrier * -- cgit v1.2.3