summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sprbtree01
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 10:02:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-13 10:02:30 +0000
commit849d4bbc80ad3e5e2e786c12a6a69524217e9b4b (patch)
treeb27302d34fad4bdb5529120228d8b6d0b12030c8 /testsuites/sptests/sprbtree01
parent2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-849d4bbc80ad3e5e2e786c12a6a69524217e9b4b.tar.bz2
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp31/task1.c: Make Do_nothing static. * sprbtree01/init.c: Make test_compare_function, rb_assert static.
Diffstat (limited to 'testsuites/sptests/sprbtree01')
-rw-r--r--testsuites/sptests/sprbtree01/init.c4
1 files changed, 2 insertions, 2 deletions
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;