summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2014-04-30 14:48:28 +0200
committerDenys Vlasenko2014-04-30 14:48:28 +0200
commit3dfe0ae5a8c4f3a75f61df157db157ac0e044a51 (patch)
tree1675fbf44c96d1d591969104d4322f2fe058fdd9 /include
parent01a1a967c99d6ea75387c6ca8041e9061ea4a111 (diff)
downloadbusybox-3dfe0ae5a8c4f3a75f61df157db157ac0e044a51.zip
busybox-3dfe0ae5a8c4f3a75f61df157db157ac0e044a51.tar.gz
libbb: make syslog level for bb_error_msg's configurable. use it in crond
function old new delta bb_verror_msg 380 386 +6 syslog_level - 1 +1 crondlog 165 108 -57 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1cbe2c8..29cf6bc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1074,6 +1074,7 @@ enum {
LOGMODE_BOTH = LOGMODE_SYSLOG + LOGMODE_STDIO,
};
extern const char *msg_eol;
+extern smallint syslog_level;
extern smallint logmode;
extern int die_sleep;
extern uint8_t xfunc_error_retval;