From 61380a5451e089ae5a725348ab6bfd007b5b82f8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Jan 2011 08:16:15 +0000 Subject: 2011-01-20 Sebastian Huber * libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API violations. --- cpukit/score/src/objectmp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpukit/score/src') 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; -- cgit v1.2.3