aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-02-27 21:14:52 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-02-27 21:14:52 +0000
commit51f421a55c9fb5435dd797984099d0fcd5c85608 (patch)
treeeb75447d0d7567c2a4d8e917623be389692bf69c
parent1acb4ef87e8a662e51da8f97c69474d2f0ad70ae (diff)
downloadbusybox-w32-51f421a55c9fb5435dd797984099d0fcd5c85608.tar.gz
busybox-w32-51f421a55c9fb5435dd797984099d0fcd5c85608.tar.bz2
busybox-w32-51f421a55c9fb5435dd797984099d0fcd5c85608.zip
- fix compilation failure due to implicit decl of resolve_mount_spec().
DCE DTRT so remove the wrong guard.
-rw-r--r--util-linux/mount.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 902df34e0..b19c3a3ef 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -248,7 +248,6 @@ static int verbose_mount(const char *source, const char *target,
248#define verbose_mount(...) mount(__VA_ARGS__) 248#define verbose_mount(...) mount(__VA_ARGS__)
249#endif 249#endif
250 250
251#if ENABLE_FEATURE_MOUNT_LABEL
252static int resolve_mount_spec(char **fsname) 251static int resolve_mount_spec(char **fsname)
253{ 252{
254 char *tmp = NULL; 253 char *tmp = NULL;
@@ -264,7 +263,6 @@ static int resolve_mount_spec(char **fsname)
264 } 263 }
265 return 0; 264 return 0;
266} 265}
267#endif
268 266
269/* Append mount options to string */ 267/* Append mount options to string */
270static void append_mount_options(char **oldopts, const char *newopts) 268static void append_mount_options(char **oldopts, const char *newopts)