Changeset 3d86d83 in rtems


Ignore:
Timestamp:
May 5, 2020, 12:49:54 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
63274da
Parents:
34b098e
git-author:
Sebastian Huber <sebastian.huber@…> (05/05/20 12:49:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/06/20 05:46:29)
Message:

rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTH

This define is

  • not documented,
  • not used in the RTEMS code base, and
  • longer than sizeof(rtems_name).

Close #3971.

File:
1 edited

Legend:

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

    r34b098e r3d86d83  
    4747extern const char _Copyright_Notice[];
    4848
    49 /** This macro defines the maximum length of a Classic API name. */
    50 #define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name)
     49typedef RTEMS_DEPRECATED uint32_t RTEMS_MAXIMUM_NAME_LENGTH;
     50/* The use of this define is deprecated, use sizeof(rtems_name) instead */
     51#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(RTEMS_MAXIMUM_NAME_LENGTH)
    5152
    5253#endif /* ASM */
Note: See TracChangeset for help on using the changeset viewer.