diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-24 13:12:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-31 16:19:57 +0200 |
commit | 33dbb3355f683940fcbb62a6e7507553d5b2885b (patch) | |
tree | 4098c008f5e64242d9debdf5593eba3c1b6152d6 /cpukit/score/src/objectnametoid.c | |
parent | bsps: Always install IPI in SMP configs (diff) | |
download | rtems-33dbb3355f683940fcbb62a6e7507553d5b2885b.tar.bz2 |
score: Constify objects name to id functions
Diffstat (limited to 'cpukit/score/src/objectnametoid.c')
-rw-r--r-- | cpukit/score/src/objectnametoid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/objectnametoid.c b/cpukit/score/src/objectnametoid.c index bafa7b23f4..2a9052d948 100644 --- a/cpukit/score/src/objectnametoid.c +++ b/cpukit/score/src/objectnametoid.c @@ -21,14 +21,14 @@ #include <rtems/score/objectimpl.h> Objects_Name_or_id_lookup_errors _Objects_Name_to_id_u32( - Objects_Information *information, - uint32_t name, - uint32_t node, - Objects_Id *id + const Objects_Information *information, + uint32_t name, + uint32_t node, + Objects_Id *id ) { bool search_local_node; - Objects_Control *the_object; + const Objects_Control *the_object; Objects_Maximum maximum; Objects_Maximum index; #if defined(RTEMS_MULTIPROCESSING) |