diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-01-20 08:16:15 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-01-20 08:16:15 +0000 |
commit | 61380a5451e089ae5a725348ab6bfd007b5b82f8 (patch) | |
tree | 9b6ab282e330ef00a88223cd0fbd27ab9a774bd5 /cpukit/score | |
parent | 2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-61380a5451e089ae5a725348ab6bfd007b5b82f8.tar.bz2 |
2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
violations.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/objectmp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index 916bb8169d..5564b52f1f 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -152,9 +152,9 @@ void _Objects_MP_Close ( the_chain = &information->global_table[ _Objects_Get_node( the_id ) ]; - for ( the_node = the_chain->first ; + for ( the_node = _Chain_First( the_chain ) ; !_Chain_Is_tail( the_chain, the_node ) ; - the_node = the_node->next ) { + the_node = _Chain_Next( the_node ) ) { the_object = (Objects_MP_Control *) the_node; @@ -224,9 +224,9 @@ Objects_Name_or_id_lookup_errors _Objects_MP_Global_name_search ( if ( !_Objects_Is_local_node( node_index ) ) { the_chain = &information->global_table[ node_index ]; - for ( the_node = the_chain->first ; + for ( the_node = _Chain_First( the_chain ) ; !_Chain_Is_tail( the_chain, the_node ) ; - the_node = the_node->next ) { + the_node = _Chain_Next( the_node ) ) { the_object = (Objects_MP_Control *) the_node; @@ -285,9 +285,9 @@ void _Objects_MP_Is_remote ( the_chain = &information->global_table[ node ]; - for ( the_node = the_chain->first ; + for ( the_node = _Chain_First( the_chain ) ; !_Chain_Is_tail( the_chain, the_node ) ; - the_node = the_node->next ) { + the_node = _Chain_Next( the_node ) ) { the_global_object = (Objects_MP_Control *) the_node; |