From 849d4bbc80ad3e5e2e786c12a6a69524217e9b4b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 13 Dec 2011 10:02:30 +0000 Subject: =?UTF-8?q?2011-12-13=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * sp31/task1.c: Make Do_nothing static. * sprbtree01/init.c: Make test_compare_function, rb_assert static. --- testsuites/sptests/ChangeLog | 5 +++++ testsuites/sptests/sp31/task1.c | 2 +- testsuites/sptests/sprbtree01/init.c | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index afd9959dda..49a7310458 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,8 @@ +2011-12-13 Ralf Corsépius + + * sp31/task1.c: Make Do_nothing static. + * sprbtree01/init.c: Make test_compare_function, rb_assert static. + 2011-12-12 Sebastian Huber * spwkspace/init.c: Test _Workspace_String_duplicate(). diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c index 41614f94c6..f5e49fb24c 100644 --- a/testsuites/sptests/sp31/task1.c +++ b/testsuites/sptests/sp31/task1.c @@ -32,7 +32,7 @@ rtems_timer_service_routine Should_not_fire_TSR( TSR_fired = 1; } -rtems_timer_service_routine Do_nothing( +static rtems_timer_service_routine Do_nothing( rtems_id ignored_id, void *ignored_address ) diff --git a/testsuites/sptests/sprbtree01/init.c b/testsuites/sptests/sprbtree01/init.c index d85de9fec0..c01f3cb923 100644 --- a/testsuites/sptests/sprbtree01/init.c +++ b/testsuites/sptests/sprbtree01/init.c @@ -27,7 +27,7 @@ typedef struct { rtems_rbtree_node Node; } test_node; -int test_compare_function ( +static int test_compare_function ( rtems_rbtree_node* n1, rtems_rbtree_node* n2 ) @@ -44,7 +44,7 @@ int test_compare_function ( * recursively checks tree. if the tree is built properly it should only * be a depth of 7 function calls for 100 entries in the tree. */ -int rb_assert ( rtems_rbtree_node *root ) +static int rb_assert ( rtems_rbtree_node *root ) { int lh, rh; -- cgit v1.2.3