summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-22 07:42:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-22 07:44:14 +0100
commitc61431f9349869e94f12787abea796861039054e (patch)
treecc02cbbc8f1b2a9be05d1093a27dc00f97b5afda
parentrtems: Use object allocator lock (diff)
downloadrtems-c61431f9349869e94f12787abea796861039054e.tar.bz2
score: Always declare _Objects_Get_by_name()
Still define it only if RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES is defined. Close #2672.
-rw-r--r--cpukit/score/include/rtems/score/objectimpl.h2
1 files changed, 0 insertions, 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.