- fix compilation failure due to implicit decl of resolve_mount_spec().
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 27 Feb 2008 21:14:52 +0000 (21:14 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 27 Feb 2008 21:14:52 +0000 (21:14 -0000)
  DCE DTRT so remove the wrong guard.

util-linux/mount.c

index 902df34..b19c3a3 100644 (file)
@@ -248,7 +248,6 @@ static int verbose_mount(const char *source, const char *target,
 #define verbose_mount(...) mount(__VA_ARGS__)
 #endif
 
-#if ENABLE_FEATURE_MOUNT_LABEL
 static int resolve_mount_spec(char **fsname)
 {
        char *tmp = NULL;
@@ -264,7 +263,6 @@ static int resolve_mount_spec(char **fsname)
        }
        return 0;
 }
-#endif
 
 /* Append mount options to string */
 static void append_mount_options(char **oldopts, const char *newopts)