[rtems commit] Make tems_rfs_bitmap_ut_test_range,

Ralf Corsepius ralf at rtems.org
Mon Oct 15 16:05:05 UTC 2012


  rtems_rfs_bitmap_ut_alloc_seq_test, rtems_rfs_bitmap_ut_test_bitmap,

  rtems_rfs_bitmap_unit_test, nullpointer_test, open_failure static.
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Module:    rtems
Branch:    master
Commit:    503de116588b60b6068c02a2eac01ebf20363a20
Changeset: http://git.rtems.org/rtems/commit/?id=503de116588b60b6068c02a2eac01ebf20363a20

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Mon Oct 15 17:45:04 2012 +0200

Make tems_rfs_bitmap_ut_test_range, rtems_rfs_bitmap_ut_alloc_seq_test, rtems_rfs_bitmap_ut_test_bitmap, rtems_rfs_bitmap_unit_test, nullpointer_test, open_failure static.

---

 testsuites/fstests/fsrfsbitmap01/test.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/testsuites/fstests/fsrfsbitmap01/test.c b/testsuites/fstests/fsrfsbitmap01/test.c
index bec40e9..dcd96df 100644
--- a/testsuites/fstests/fsrfsbitmap01/test.c
+++ b/testsuites/fstests/fsrfsbitmap01/test.c
@@ -31,7 +31,7 @@
 #define rtems_rfs_exit_on_error(_rc, _r, _c, _b)                         \
   if ((_rc > 0) || _r) { free (_b); rtems_rfs_bitmap_close (_c); return; }
 
-bool
+static bool
 rtems_rfs_bitmap_ut_test_range (rtems_rfs_bitmap_control* control,
                                 int                       test,
                                 bool                      set,
@@ -67,7 +67,7 @@ rtems_rfs_bitmap_ut_test_range (rtems_rfs_bitmap_control* control,
   return true;
 }
 
-bool
+static bool
 rtems_rfs_bitmap_ut_alloc_seq_test (rtems_rfs_bitmap_control* control,
                                     int                       test,
                                     rtems_rfs_bitmap_bit      bit,
@@ -131,7 +131,7 @@ rtems_rfs_bitmap_ut_alloc_seq_test (rtems_rfs_bitmap_control* control,
   return true;
 }
 
-void
+static void
 rtems_rfs_bitmap_ut_test_bitmap (size_t size)
 {
   rtems_rfs_file_system    fs;
@@ -428,7 +428,7 @@ rtems_rfs_bitmap_ut_test_bitmap (size_t size)
   free (buffer.buffer);
 }
 
-void rtems_rfs_bitmap_unit_test (void)
+static void rtems_rfs_bitmap_unit_test (void)
 {
   printf (" Bit set value       : %d\n", RTEMS_RFS_BITMAP_BIT_SET);
   printf (" Bit clear value     : %d\n", RTEMS_RFS_BITMAP_BIT_CLEAR);
@@ -444,7 +444,7 @@ void rtems_rfs_bitmap_unit_test (void)
   rtems_rfs_bitmap_ut_test_bitmap (420);
 }
 
-void nullpointer_test(void){
+static void nullpointer_test(void){
 
   rtems_rfs_bitmap_control* control=NULL;
   rtems_rfs_bitmap_control  notnullcontrol;
@@ -480,7 +480,7 @@ void nullpointer_test(void){
   rtems_test_assert(rc > 0);
 }
 
-void open_failure(void){
+static void open_failure(void){
 
   rtems_rfs_file_system    fs;
   rtems_rfs_bitmap_control control;




More information about the vc mailing list