summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorMike Frysinger2006-01-08 11:15:34 +0000
committerMike Frysinger2006-01-08 11:15:34 +0000
commite885d5300a2a087e552b5b4ed5d3602d49a3fde9 (patch)
treec19caaa83303e2fe0934204fb2891e456b7663f4 /include/libbb.h
parent84cb76733f0e5853a6c7c2f64b1c168e61dfd933 (diff)
downloadbusybox-e885d5300a2a087e552b5b4ed5d3602d49a3fde9.zip
busybox-e885d5300a2a087e552b5b4ed5d3602d49a3fde9.tar.gz
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
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f6efc40..e9a828c 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;