From a409c80ec4bca46219e3e1018444d42aaf5befde Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 26 Feb 2008 19:20:36 +0000 Subject: [PATCH] 2008-02-26 Joel Sherrill * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some warnings. --- cpukit/ChangeLog | 5 +++++ cpukit/rtems/src/regionmp.c | 6 +++--- cpukit/score/src/objectnametoidstring.c | 3 --- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 7db601b6ca..37c6d0512e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-02-26 Joel Sherrill + + * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some + warnings. + 2008-02-20 Joel Sherrill * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats diff --git a/cpukit/rtems/src/regionmp.c b/cpukit/rtems/src/regionmp.c index 5780c6be58..3f33d56934 100644 --- a/cpukit/rtems/src/regionmp.c +++ b/cpukit/rtems/src/regionmp.c @@ -58,7 +58,7 @@ void _Region_MP_Send_process_packet ( the_packet->proxy_id = proxy_id; if ( operation == REGION_MP_EXTRACT_PROXY ) - node = _Object_Get_node( region_id ); + node = _Objects_Get_node( region_id ); else node = MPCI_ALL_NODES; @@ -109,7 +109,7 @@ rtems_status_code _Region_MP_Send_request_packet ( the_packet->option_set = option_set; return (rtems_status_code) _MPCI_Send_request_packet( - _Object_Get_node( region_id ), + _Objects_Get_node( region_id ), &the_packet->Prefix, STATES_READY /* Not used */ ); @@ -159,7 +159,7 @@ void _Region_MP_Send_response_packet ( the_packet->Prefix.id = the_packet->Prefix.source_tid; _MPCI_Send_response_packet( - _Object_Get_node( the_packet->Prefix.source_tid ), + _Objects_Get_node( the_packet->Prefix.source_tid ), &the_packet->Prefix ); break; diff --git a/cpukit/score/src/objectnametoidstring.c b/cpukit/score/src/objectnametoidstring.c index ffffe5819d..146dd1f53e 100644 --- a/cpukit/score/src/objectnametoidstring.c +++ b/cpukit/score/src/objectnametoidstring.c @@ -57,9 +57,6 @@ Objects_Name_or_id_lookup_errors _Objects_Name_to_id_string( Objects_Control *the_object; uint32_t index; uint32_t name_length; -#if defined(RTEMS_MULTIPROCESSING) - Objects_Name name_for_mp; -#endif /* ASSERT: information->is_string == TRUE */