diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-11-04 12:19:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-11-04 12:19:04 +0100 |
commit | d3fabf89d7d38a436672ac2deea7904351b1b12a (patch) | |
tree | baae6201eb8c0b2b74a1732762c3034efcb4a00e /include | |
parent | fdd957bdc9981cc2c1efb4452f55bb44a88cbfe0 (diff) | |
download | busybox-d3fabf89d7d38a436672ac2deea7904351b1b12a.tar.gz |
zcip: Add environment variable for overriding log functionality
function old new delta
bb_logenv_override - 70 +70
packed_usage 29969 30033 +64
zcip_main 1426 1431 +5
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 139/0) Total: 139 bytes
Signed-off-by: Michel Stam <m.stam@fugro.nl>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index d57f00e0e..cc2bea32d 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1104,6 +1104,7 @@ extern void bb_perror_nomsg_and_die(void) NORETURN FAST_FUNC; extern void bb_perror_nomsg(void) FAST_FUNC; extern void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; extern void bb_verror_msg(const char *s, va_list p, const char *strerr) FAST_FUNC; +extern void bb_logenv_override(void) FAST_FUNC; /* We need to export XXX_main from libbusybox * only if we build "individual" binaries |