summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:15:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:15:34 +0000
commite885d5300a2a087e552b5b4ed5d3602d49a3fde9 (patch)
treec19caaa83303e2fe0934204fb2891e456b7663f4
parent84cb76733f0e5853a6c7c2f64b1c168e61dfd933 (diff)
Tito writes:
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
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f6efc40df..e9a828c52 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -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;