diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 13:50:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:47 +0200 |
commit | a2e3f33f39e6898c2e2886216fe671b29a93d643 (patch) | |
tree | d304dc7fe4fcf0dcb42a61b8ba99b2c698d8454f /cpukit/score/include/rtems/score/apimutex.h | |
parent | Include missing <rtems/score/threaddispatch.h> (diff) | |
download | rtems-a2e3f33f39e6898c2e2886216fe671b29a93d643.tar.bz2 |
score: Create object implementation header
Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.
Diffstat (limited to 'cpukit/score/include/rtems/score/apimutex.h')
-rw-r--r-- | cpukit/score/include/rtems/score/apimutex.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/score/include/rtems/score/apimutex.h b/cpukit/score/include/rtems/score/apimutex.h index 60c21ad29c..a34270ec08 100644 --- a/cpukit/score/include/rtems/score/apimutex.h +++ b/cpukit/score/include/rtems/score/apimutex.h @@ -18,9 +18,8 @@ #ifndef _RTEMS_SCORE_APIMUTEX_H #define _RTEMS_SCORE_APIMUTEX_H -#ifdef __cplusplus -extern "C" { -#endif +#include <rtems/score/coremutex.h> +#include <rtems/score/object.h> /** * @defgroup ScoreAPIMutex API Mutex Handler @@ -31,9 +30,9 @@ extern "C" { */ /**@{**/ -#include <rtems/score/coremutex.h> -#include <rtems/score/isr.h> -#include <rtems/score/object.h> +#ifdef __cplusplus +extern "C" { +#endif /** * @brief Control block used to manage each API mutex. @@ -51,11 +50,6 @@ typedef struct { } API_Mutex_Control; /** - * @brief Information control block used to manage this class of objects. - */ -SCORE_EXTERN Objects_Information _API_Mutex_Information; - -/** * @brief Initialization for the API Mutexe Handler. * * The value @a maximum_mutexes is the maximum number of API mutexes that may |