summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-14 06:09:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-14 06:09:11 +0000
commit45ef86e1605aacd98420e24cc13a4f50e0b79684 (patch)
tree8afea386be1cb1087aad486f2edcec95e2ca0784 /cpukit/score
parent2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-45ef86e1605aacd98420e24cc13a4f50e0b79684.tar.bz2
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h, posix/include/rtems/posix/pthread.h, score/include/rtems/score/coresem.h, score/include/rtems/score/priority.h, score/include/rtems/score/threadq.h, score/include/rtems/score/timestamp.h: Move 'extern "C"'.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/include/rtems/score/coresem.h8
-rw-r--r--cpukit/score/include/rtems/score/priority.h8
-rw-r--r--cpukit/score/include/rtems/score/threadq.h8
-rw-r--r--cpukit/score/include/rtems/score/timestamp.h4
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!!!
*