diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-24 13:54:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-31 16:19:57 +0200 |
commit | c7e30854f284a17200892ce8e5405744e3c46c24 (patch) | |
tree | 539fe22ad5c99f5b23eb65ad9badb5d9087fee9a /cpukit/score/src/objectnametoid.c | |
parent | score: Constify objects name to id functions (diff) | |
download | rtems-c7e30854f284a17200892ce8e5405744e3c46c24.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score/src/objectnametoid.c')
-rw-r--r-- | cpukit/score/src/objectnametoid.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <rtems/score/objectimpl.h> 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; |