From 34b098edc5d89d3dd110baa42956105c8949b263 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 5 May 2020 14:37:30 +0200 Subject: rtems: Deprecate use of _RTEMS_version Close #3970. --- cpukit/include/rtems/system.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'cpukit/include/rtems/system.h') diff --git a/cpukit/include/rtems/system.h b/cpukit/include/rtems/system.h index c72859195c..2fb5e8add7 100644 --- a/cpukit/include/rtems/system.h +++ b/cpukit/include/rtems/system.h @@ -35,12 +35,11 @@ extern "C" { #ifndef ASM -/** - * The following is the extern for the RTEMS version string. - * - * @note The contents of this string are CPU specific. +/* + * The use of this variable is deprecated, use rtems_get_version_string() + * instead. */ -extern const char _RTEMS_version[]; +extern RTEMS_DEPRECATED const char _RTEMS_version[]; /** * The following is the extern for the RTEMS copyright string. -- cgit v1.2.3