forked from Imagelibrary/rtems
@@ -41,6 +41,16 @@ extern "C" {
|
||||
*/
|
||||
extern const char _Copyright_Notice[];
|
||||
|
||||
/**
|
||||
* @brief This constant provides the RTEMS version string.
|
||||
*
|
||||
* The constant name does not follow the naming conventions. Do not change it
|
||||
* for backward compatibility reasons.
|
||||
*
|
||||
* @see rtems_get_version_string()
|
||||
*/
|
||||
extern const char _RTEMS_version[];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -39,12 +39,6 @@ extern "C" {
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
/*
|
||||
* The use of this variable is deprecated, use rtems_get_version_string()
|
||||
* instead.
|
||||
*/
|
||||
extern RTEMS_DEPRECATED const char _RTEMS_version[];
|
||||
|
||||
/**
|
||||
* The following is the extern for the RTEMS copyright string.
|
||||
*/
|
||||
|
||||
@@ -19,9 +19,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/score/copyrt.h>
|
||||
|
||||
const char *rtems_get_version_string(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user