diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-21 10:47:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-24 09:22:36 +0100 |
commit | 0b263b0eb7dd05efe44359b9d8172926856badc7 (patch) | |
tree | 0fcb6c0924561f08c7854a5fbecc51f79bfca22a /cpukit/score/src/threadinitialize.c | |
parent | build: Fix format in wscript (diff) | |
download | rtems-0b263b0eb7dd05efe44359b9d8172926856badc7.tar.bz2 |
score: Remove _Objects_Open()
Use the type safe _Objects_Open_u32() instead. Return the object
identifier to enforce a common usage pattern.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 05c30c3d43..10eb0d7a3f 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -241,10 +241,7 @@ bool _Thread_Initialize( _Thread_Action_control_initialize( &the_thread->Post_switch_actions ); - /* - * Open the object - */ - _Objects_Open( &information->Objects, &the_thread->Object, config->name ); + _Objects_Open_u32( &information->Objects, &the_thread->Object, config->name ); /* * We assume the Allocator Mutex is locked and dispatching is |