[PATCH 03/16] rtems: Remove _Copyright_Notice from API header

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jul 13 06:51:49 UTC 2020


Close #3981.
---
 bsps/shared/rtems-version.c   | 3 ++-
 cpukit/include/rtems/system.h | 9 ---------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/bsps/shared/rtems-version.c b/bsps/shared/rtems-version.c
index 26f7a5731a..930e643484 100644
--- a/bsps/shared/rtems-version.c
+++ b/bsps/shared/rtems-version.c
@@ -8,7 +8,8 @@
  */
 
 #include <rtems/version.h>
-#include <rtems/system.h>
+#include <rtems/score/copyrt.h>
+#include <rtems/score/cpu.h>
 
 #include <bspopts.h>
 
diff --git a/cpukit/include/rtems/system.h b/cpukit/include/rtems/system.h
index a1018e2c86..78332e3bfa 100644
--- a/cpukit/include/rtems/system.h
+++ b/cpukit/include/rtems/system.h
@@ -37,15 +37,6 @@
 extern "C" {
 #endif
 
-#ifndef ASM
-
-/**
- *  The following is the extern for the RTEMS copyright string.
- */
-extern RTEMS_DEPRECATED const char _Copyright_Notice[];
-
-#endif /* ASM */
-
 #ifdef __cplusplus
 }
 #endif
-- 
2.26.2



More information about the devel mailing list