Changeset 9039011 in rtems


Ignore:
Timestamp:
May 11, 2020, 6:20:48 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b3686d7
Parents:
a3b86d6c
git-author:
Sebastian Huber <sebastian.huber@…> (05/11/20 06:20:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/14/20 05:25:45)
Message:

rtems: Move declartion of _RTEMS_version

Close #3978.

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/copyrt.h

    ra3b86d6c r9039011  
    4242extern const char _Copyright_Notice[];
    4343
     44/**
     45 * @brief This constant provides the RTEMS version string.
     46 *
     47 * The constant name does not follow the naming conventions.  Do not change it
     48 * for backward compatibility reasons.
     49 *
     50 * @see rtems_get_version_string()
     51 */
     52extern const char _RTEMS_version[];
     53
    4454#ifdef __cplusplus
    4555}
  • cpukit/include/rtems/system.h

    ra3b86d6c r9039011  
    4040#ifndef ASM
    4141
    42 /*
    43  * The use of this variable is deprecated, use rtems_get_version_string()
    44  * instead.
    45  */
    46 extern RTEMS_DEPRECATED const char _RTEMS_version[];
    47 
    4842/**
    4943 *  The following is the extern for the RTEMS copyright string.
  • cpukit/sapi/src/getversionstring.c

    ra3b86d6c r9039011  
    2020#endif
    2121
    22 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    23 
    2422#include <rtems.h>
     23#include <rtems/score/copyrt.h>
    2524
    2625const char *rtems_get_version_string(void)
Note: See TracChangeset for help on using the changeset viewer.