forked from Imagelibrary/rtems
@@ -35,12 +35,11 @@ extern "C" {
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* The following is the extern for the RTEMS version string.
|
* The use of this variable is deprecated, use rtems_get_version_string()
|
||||||
*
|
* instead.
|
||||||
* @note The contents of this string are CPU specific.
|
|
||||||
*/
|
*/
|
||||||
extern const char _RTEMS_version[];
|
extern RTEMS_DEPRECATED const char _RTEMS_version[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following is the extern for the RTEMS copyright string.
|
* The following is the extern for the RTEMS copyright string.
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|
||||||
const char *rtems_get_version_string(void)
|
const char *rtems_get_version_string(void)
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
||||||
#include <rtems/config.h>
|
#include <rtems/config.h>
|
||||||
#include <rtems/score/copyrt.h>
|
#include <rtems/score/copyrt.h>
|
||||||
#include <rtems/rtems/clock.h>
|
#include <rtems/rtems/clock.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user