diff mbox

[PATCHv1,5/5] tests: ubi-tests: seed_random_generator() was used w/o prototype

Message ID 079428894ea293560f65737475e222af2332bfa9.1302011698.git.ext-andriy.shevchenko@nokia.com
State Accepted
Commit 1bf8fb86ef192bc182a0c7cecdfc0792d6555fda
Headers show

Commit Message

Shevchenko Andriy (EXT-Teleca/Helsinki) April 5, 2011, 1:55 p.m. UTC
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
---
 tests/ubi-tests/integ.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Comments

Artem Bityutskiy April 5, 2011, 2:22 p.m. UTC | #1
On Tue, 2011-04-05 at 16:55 +0300, Andy Shevchenko wrote:
> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
> ---
>  tests/ubi-tests/integ.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Pushed this one, thanks!
diff mbox

Patch

diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c
index f293444..4e13b73 100644
--- a/tests/ubi-tests/integ.c
+++ b/tests/ubi-tests/integ.c
@@ -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;
 	}
 }