diff options
author | Denys Vlasenko | 2009-08-02 00:55:49 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-08-02 00:55:49 +0200 |
commit | aebb742939d4100fbd1c7e94c68f9265e0805fd8 (patch) | |
tree | 0ccb74b0e7746125fab567d1663860c69e9d0b6a /runit/runit_lib.c | |
parent | e2944af43eeb95ec612a48cc930a71f9e6a2f219 (diff) | |
download | busybox-aebb742939d4100fbd1c7e94c68f9265e0805fd8.zip busybox-aebb742939d4100fbd1c7e94c68f9265e0805fd8.tar.gz |
svlogd: fix bug 521: use line buffering if any filtering is done
function old new delta
logdirs_reopen 1296 1310 +14
svlogd_main 1439 1444 +5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/runit_lib.c')
-rw-r--r-- | runit/runit_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c index f33619d..ec18b5e 100644 --- a/runit/runit_lib.c +++ b/runit/runit_lib.c @@ -34,6 +34,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "libbb.h" #include "runit_lib.h" +#ifdef UNUSED unsigned byte_chr(char *s,unsigned n,int c) { char ch; @@ -50,7 +51,6 @@ unsigned byte_chr(char *s,unsigned n,int c) return t - s; } -#ifdef UNUSED static /* as it isn't used anywhere else */ void tai_pack(char *s, const struct tai *t) { |