From c7e30854f284a17200892ce8e5405744e3c46c24 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jun 2020 13:54:23 +0200 Subject: rtems: Add _RTEMS_Name_to_id() Simplify object name to identifier directives. Using _RTEMS_Name_to_id() to implement the directives enables a tail call optimization. Change license to BSD-2-Clause according to file history. Update #3053. --- cpukit/score/src/objectnametoid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/src/objectnametoid.c') diff --git a/cpukit/score/src/objectnametoid.c b/cpukit/score/src/objectnametoid.c index 2a9052d948..d89e161c8c 100644 --- a/cpukit/score/src/objectnametoid.c +++ b/cpukit/score/src/objectnametoid.c @@ -21,10 +21,10 @@ #include Objects_Name_or_id_lookup_errors _Objects_Name_to_id_u32( - const Objects_Information *information, uint32_t name, uint32_t node, - Objects_Id *id + Objects_Id *id, + const Objects_Information *information ) { bool search_local_node; -- cgit v1.2.3