diff options
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/coresem.h | 8 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/priority.h | 8 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/threadq.h | 8 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/timestamp.h | 4 |
4 files changed, 14 insertions, 14 deletions
diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h index 373965f67e..ae3754129b 100644 --- a/cpukit/score/include/rtems/score/coresem.h +++ b/cpukit/score/include/rtems/score/coresem.h @@ -29,15 +29,15 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/priority.h> #include <rtems/score/watchdog.h> +#ifdef __cplusplus +extern "C" { +#endif + #if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API) #define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY #endif diff --git a/cpukit/score/include/rtems/score/priority.h b/cpukit/score/include/rtems/score/priority.h index 3aba088d06..5a1dccaecc 100644 --- a/cpukit/score/include/rtems/score/priority.h +++ b/cpukit/score/include/rtems/score/priority.h @@ -36,15 +36,15 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - /* * Processor specific information. */ #include <rtems/score/cpu.h> +#ifdef __cplusplus +extern "C" { +#endif + /** * The following type defines the control block used to manage * thread priorities. diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h index 7519fdae54..357bbf713c 100644 --- a/cpukit/score/include/rtems/score/threadq.h +++ b/cpukit/score/include/rtems/score/threadq.h @@ -27,16 +27,16 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - #include <rtems/score/tqdata.h> #include <rtems/score/object.h> #include <rtems/score/thread.h> #include <rtems/score/watchdog.h> +#ifdef __cplusplus +extern "C" { +#endif + /** * Constant for indefinite wait. */ diff --git a/cpukit/score/include/rtems/score/timestamp.h b/cpukit/score/include/rtems/score/timestamp.h index 25ac57f025..6789e83e93 100644 --- a/cpukit/score/include/rtems/score/timestamp.h +++ b/cpukit/score/include/rtems/score/timestamp.h @@ -38,12 +38,12 @@ */ /**@{*/ +#include <rtems/score/timespec.h> + #ifdef __cplusplus extern "C" { #endif -#include <rtems/score/timespec.h> - /* * NOTE: Eventually each port should select what it should use!!! * |