Changeset 34b098e in rtems


Ignore:
Timestamp:
May 5, 2020, 12:37:30 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
3d86d83
Parents:
4b9b6dd
git-author:
Sebastian Huber <sebastian.huber@…> (05/05/20 12:37:30)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/06/20 05:39:10)
Message:

rtems: Deprecate use of _RTEMS_version

Close #3970.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/system.h

    r4b9b6dd r34b098e  
    3636#ifndef ASM
    3737
    38 /**
    39  *  The following is the extern for the RTEMS version string.
    40  *
    41  *  @note The contents of this string are CPU specific.
     38/*
     39 * The use of this variable is deprecated, use rtems_get_version_string()
     40 * instead.
    4241 */
    43 extern const char _RTEMS_version[];
     42extern RTEMS_DEPRECATED const char _RTEMS_version[];
    4443
    4544/**
  • cpukit/sapi/src/getversionstring.c

    r4b9b6dd r34b098e  
    2020#endif
    2121
     22#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     23
    2224#include <rtems.h>
    2325
  • testsuites/sptests/spsize/size.c

    r4b9b6dd r34b098e  
    1818#include "config.h"
    1919#endif
     20
     21#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    2022
    2123#include <rtems/config.h>
Note: See TracChangeset for help on using the changeset viewer.