summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpukit/include/rtems/system.h2
-rw-r--r--cpukit/sapi/src/getcopyrightnotice.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/system.h b/cpukit/include/rtems/system.h
index 8019717bc2..032ac56a95 100644
--- a/cpukit/include/rtems/system.h
+++ b/cpukit/include/rtems/system.h
@@ -48,7 +48,7 @@ extern RTEMS_DEPRECATED const char _RTEMS_version[];
/**
* The following is the extern for the RTEMS copyright string.
*/
-extern const char _Copyright_Notice[];
+extern RTEMS_DEPRECATED const char _Copyright_Notice[];
typedef RTEMS_DEPRECATED uint32_t RTEMS_MAXIMUM_NAME_LENGTH;
/* The use of this define is deprecated, use sizeof(rtems_name) instead */
diff --git a/cpukit/sapi/src/getcopyrightnotice.c b/cpukit/sapi/src/getcopyrightnotice.c
index 515d5258c2..4e5df66524 100644
--- a/cpukit/sapi/src/getcopyrightnotice.c
+++ b/cpukit/sapi/src/getcopyrightnotice.c
@@ -37,6 +37,8 @@
#include "config.h"
#endif
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
#include <rtems.h>
#include <rtems/score/copyrt.h>