]> www.infradead.org Git - mtd-utils.git/commitdiff
tests: ubi-tests: seed_random_generator() was used w/o prototype
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>
Tue, 5 Apr 2011 13:55:54 +0000 (16:55 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 14:27:43 +0000 (17:27 +0300)
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/ubi-tests/integ.c

index f2934446f48383feff1afa73505cad97c7d6333c..4e13b7322d78f8f5f1331cd2e468e6e2461f4725 100644 (file)
@@ -14,6 +14,7 @@
 #include <sys/stat.h>
 
 #include "libubi.h"
+#include "common.h"
 
 struct erase_block_info;
 struct volume_info;
@@ -586,7 +587,7 @@ static void reload_ubi(void)
        sleep(1);
 }
 
-static void check_volume(struct volume_info *vol)
+static void integ_check_volume(struct volume_info *vol)
 {
        struct erase_block_info *eb = vol->erase_blocks;
        int pos;
@@ -607,7 +608,7 @@ static void check_ubi_device(struct ubi_device_info *ubi_device)
 
        vol = ubi_device->volumes;
        while (vol) {
-               check_volume(vol);
+               integ_check_volume(vol);
                vol = vol->next;
        }
 }