rtems: Deprecate _Copyright_Notice

Close #3973.
This commit is contained in:
Sebastian Huber
2020-05-05 16:12:05 +02:00
parent 1af8e45bb7
commit d30a352d4c
2 changed files with 3 additions and 1 deletions

View File

@@ -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 */

View File

@@ -37,6 +37,8 @@
#include "config.h"
#endif
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <rtems.h>
#include <rtems/score/copyrt.h>