[PATCH 1/3] PR766: Delete __RTEMS_APPLICATION__
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Aug 6 14:11:29 UTC 2013
This define is no longer used.
---
.../lib/libbsp/powerpc/beatnik/startup/bspstart.c | 4 ----
cpukit/rtems/include/rtems.h | 14 --------------
2 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
index b3a17e7..9b5c7a7 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
@@ -48,10 +48,6 @@
/* for RTEMS_VERSION :-( I dont like the preassembled string */
#include <rtems/sptables.h>
-#ifdef __RTEMS_APPLICATION__
-#undef __RTEMS_APPLICATION__
-#endif
-
#define SHOW_MORE_INIT_SETTINGS
BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial;
diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h
index 867429e..d75ca50 100644
--- a/cpukit/rtems/include/rtems.h
+++ b/cpukit/rtems/include/rtems.h
@@ -30,20 +30,6 @@
extern "C" {
#endif
-#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && \
- (!defined(__RTEMS_INSIDE__))
-/**
- * @brief Compiling RTEMS application macro.
- *
- * Unless told otherwise, the RTEMS include files will hide some stuff from
- * normal application code. Defining this crosses a boundary which is
- * undesirable since it means your application is using RTEMS features which
- * are not included in the formally defined and supported API. Define this at
- * your own risk.
- */
-#define __RTEMS_APPLICATION__
-#endif
-
#include <rtems/system.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
--
1.7.7
More information about the devel
mailing list