summaryrefslogtreecommitdiff
path: root/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtl.c')
-rw-r--r--rtl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtl.c b/rtl.c
index 9429046..3e96742 100644
--- a/rtl.c
+++ b/rtl.c
@@ -375,6 +375,13 @@ rtems_rtl_obj_t*
rtems_rtl_find_obj (const char* name)
{
rtems_chain_node* node;
+ rtems_rtl_obj_t* found = NULL;
+ const char* aname = NULL;
+ const char* oname = NULL;
+ int ooffset;
+
+ if (!rtems_rtl_parse_name (name, &aname, &oname, &ooffset))
+ return NULL;
node = rtems_chain_first (&rtl->objects);