diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 12:41:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 09:15:01 +0100 |
commit | 358bd740593132ddb00d6e33b4f512b5f9615597 (patch) | |
tree | 480e1259d433ef74df494e5d4b1a4481f0b1662e /cpukit/score/include/rtems/score/apimutex.h | |
parent | sparc64: Avoid SCORE_EXTERN (diff) | |
download | rtems-358bd740593132ddb00d6e33b4f512b5f9615597.tar.bz2 |
score: Avoid SCORE_EXTERN
Delete SCORE_INIT. This finally removes the
some.h:
#ifndef SOME_XYZ_EXTERN
#define SOME_XYZ_EXTERN extern
#endif
SOME_XYZ_EXTERN type xyz;
some_xyz.c:
#define SOME_XYZ_EXTERN
#include <some.h>
pattern in favour of
some.h:
extern type xyz;
some_xyz.c
#include <some.h>
type xyz;
Update #2559.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/apimutex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/apimutex.h b/cpukit/score/include/rtems/score/apimutex.h index 615f60b31d..86561aac74 100644 --- a/cpukit/score/include/rtems/score/apimutex.h +++ b/cpukit/score/include/rtems/score/apimutex.h @@ -113,7 +113,7 @@ bool _API_Mutex_Is_owner( const API_Mutex_Control *mutex ); * This points to the API Mutex instance used to ensure that only * one thread at a time is allocating or freeing memory. */ -SCORE_EXTERN API_Mutex_Control *_RTEMS_Allocator_Mutex; +extern API_Mutex_Control *_RTEMS_Allocator_Mutex; static inline void _RTEMS_Lock_allocator( void ) { @@ -130,7 +130,7 @@ static inline bool _RTEMS_Allocator_is_owner( void ) return _API_Mutex_Is_owner( _RTEMS_Allocator_Mutex ); } -SCORE_EXTERN API_Mutex_Control *_Once_Mutex; +extern API_Mutex_Control *_Once_Mutex; static inline void _Once_Lock( void ) { |