From c61431f9349869e94f12787abea796861039054e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 22 Mar 2016 07:42:34 +0100 Subject: score: Always declare _Objects_Get_by_name() Still define it only if RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES is defined. Close #2672. --- cpukit/score/include/rtems/score/objectimpl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index f75ae59c0f..3adf3a795f 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -447,7 +447,6 @@ Objects_Name_or_id_lookup_errors _Objects_Name_to_id_u32( Objects_Id *id ); -#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES) typedef enum { OBJECTS_GET_BY_NAME_INVALID_NAME, OBJECTS_GET_BY_NAME_NAME_TOO_LONG, @@ -474,7 +473,6 @@ Objects_Control *_Objects_Get_by_name( size_t *name_length_p, Objects_Get_by_name_error *error ); -#endif /** * @brief Implements the common portion of the object Id to name directives. -- cgit v1.2.3