[rtems commit] config: Move definitions after includes

Sebastian Huber sebh at rtems.org
Wed Nov 7 12:09:50 UTC 2018


Module:    rtems
Branch:    master
Commit:    97a86719af4ed400f7fefb5133d62826bdb40748
Changeset: http://git.rtems.org/rtems/commit/?id=97a86719af4ed400f7fefb5133d62826bdb40748

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov  6 16:57:21 2018 +0100

config: Move definitions after includes

---

 cpukit/include/rtems/config.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 9cc4115..c910aa0 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -32,6 +32,14 @@ extern "C" {
  */
 
 #include <rtems/score/object.h>
+#include <rtems/score/watchdog.h>
+#include <rtems/rtems/config.h>
+#include <rtems/posix/config.h>
+#include <rtems/extension.h>
+#if defined(RTEMS_MULTIPROCESSING)
+#include <rtems/score/mpci.h>
+#endif
+
 #define RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS
 
 #define rtems_resource_unlimited(resource) \
@@ -43,14 +51,6 @@ extern "C" {
 #define rtems_resource_maximum_per_allocation(resource) \
   _Objects_Maximum_per_allocation(resource)
 
-#include <rtems/score/watchdog.h>
-#include <rtems/rtems/config.h>
-#include <rtems/posix/config.h>
-#include <rtems/extension.h>
-#if defined(RTEMS_MULTIPROCESSING)
-#include <rtems/score/mpci.h>
-#endif
-
 #if defined(RTEMS_MULTIPROCESSING)
 /*
  *  The following records define the Multiprocessor Configuration




More information about the vc mailing list