forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -46,8 +46,9 @@ extern RTEMS_DEPRECATED const char _RTEMS_version[];
|
|||||||
*/
|
*/
|
||||||
extern const char _Copyright_Notice[];
|
extern const char _Copyright_Notice[];
|
||||||
|
|
||||||
/** This macro defines the maximum length of a Classic API name. */
|
typedef RTEMS_DEPRECATED uint32_t RTEMS_MAXIMUM_NAME_LENGTH;
|
||||||
#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name)
|
/* The use of this define is deprecated, use sizeof(rtems_name) instead */
|
||||||
|
#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(RTEMS_MAXIMUM_NAME_LENGTH)
|
||||||
|
|
||||||
#endif /* ASM */
|
#endif /* ASM */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user