randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/include/libbb.h b/include/libbb.h
index 392c044..d9858f5 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1385,8 +1385,10 @@
#define bb_perror_msg_and_die(...) BB_MSG(_perror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__)
#define bb_herror_msg(...) BB_MSG(_herror_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__)
#define bb_herror_msg_and_die(...) BB_MSG(_herror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__)
+#if ENABLE_FEATURE_SYSLOG_INFO
#define bb_info_msg(...) BB_MSG(_info_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__)
#endif
+#endif
/* We need to export XXX_main from libbusybox
* only if we build "individual" binaries
diff --git a/networking/brctl.c b/networking/brctl.c
index 2564024..68725f9 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -591,6 +591,7 @@
return EXIT_SUCCESS;
}
+#if ENABLE_FEATURE_BRCTL_FANCY
if (key == ARG_showmacs) {
show_bridge_macs(br);
return EXIT_SUCCESS;
@@ -599,6 +600,7 @@
show_bridge_stp(br);
return EXIT_SUCCESS;
}
+#endif
if (!*argv) /* All of the below need at least two arguments */
bb_show_usage();