From 914b023e71559e033ec5a1f9840511eb1ccaf386 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 25 Feb 2015 19:50:40 +0100 Subject: [PATCH] block: don't declare find_root_dev with UBIFS_EXTROOT Signed-off-by: Jo-Philipp Wich --- block.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/block.c b/block.c index c72a9df..705cf5d 100644 --- a/block.c +++ b/block.c @@ -935,7 +935,8 @@ static int find_block_ubi_RO(libubi_t libubi, char *name, char *part, int plen) return err; } -#endif + +#else static int find_root_dev(char *buf, int len) { @@ -966,6 +967,8 @@ static int find_root_dev(char *buf, int len) return -1; } +#endif + static int test_fs_support(const char *name) { char line[128], *p; -- 2.11.0