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/threadimpl.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 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index 4177a972ae..1377543118 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -53,7 +53,7 @@ extern "C" { /** * Self for the GNU Ada Run-Time */ -SCORE_EXTERN void *rtems_ada_self; +extern void *rtems_ada_self; typedef struct { Objects_Information Objects; @@ -65,14 +65,14 @@ typedef struct { * The following defines the information control block used to * manage this class of objects. */ -SCORE_EXTERN Thread_Information _Thread_Internal_information; +extern Thread_Information _Thread_Internal_information; /** * The following points to the thread whose floating point * context is currently loaded. */ #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) -SCORE_EXTERN Thread_Control *_Thread_Allocated_fp; +extern Thread_Control *_Thread_Allocated_fp; #endif #define THREAD_CHAIN_NODE_TO_THREAD( node ) \ |