Tito writes:
authorMike Frysinger <vapier@gentoo.org>
Sun, 8 Jan 2006 11:15:34 +0000 (11:15 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 8 Jan 2006 11:15:34 +0000 (11:15 -0000)
Somehow while applying the bb_do_delay patch a change slipped
in libbb.h that broke compilation.

libbb.h Line 355
  extern char bb_path_mtab_file[];

This conflicts with mtab_file.c
#if defined(CONFIG_FEATURE_MTAB_SUPPORT)
const char bb_path_mtab_file[] = "/etc/mtab";
#else
const char bb_path_mtab_file[] = "/proc/mounts";
#endif

include/libbb.h

index f6efc40dff2facae18028f9dcbbb0b8f4d987085..e9a828c52729f89f33f30a7174e01bbcc26c4f1a 100644 (file)
@@ -355,7 +355,7 @@ extern const char * const bb_default_login_shell;
 #define DEFAULT_SHELL_SHORT_NAME     (bb_default_login_shell+6)
 
 
-extern char bb_path_mtab_file[];
+extern const char bb_path_mtab_file[];
 
 extern int bb_default_error_retval;