summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2020-06-23 02:46:53 +0200
committerDenys Vlasenko2020-06-23 02:46:53 +0200
commit6eb38fded2f459f2828121a2f6b1499da2677553 (patch)
tree3762da91bad8762ff3666d4936460b6dc914a15e /include/libbb.h
parent62744efa472886ea8fdeb262dcb184974e3f88de (diff)
downloadbusybox-6eb38fded2f459f2828121a2f6b1499da2677553.zip
busybox-6eb38fded2f459f2828121a2f6b1499da2677553.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
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 @@ static inline void __attribute__ ((deprecated("use bb_simple_info_msg instead"))
#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