From: Jo-Philipp Wich Date: Wed, 25 Feb 2015 18:50:40 +0000 (+0100) Subject: block: don't declare find_root_dev with UBIFS_EXTROOT X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffstools.git;a=commitdiff_plain;h=914b023e71559e033ec5a1f9840511eb1ccaf386 block: don't declare find_root_dev with UBIFS_EXTROOT Signed-off-by: Jo-Philipp Wich --- 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;