diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 03:39:45 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 03:39:45 +0000 |
commit | ff2b6d21853ca6417a43c06f37a32201f881245d (patch) | |
tree | e29af66c29c2a7cfeb7f7f4ca7c904704def2a5e /sysklogd/logger.c | |
parent | 6884f665bd7bc101f56ff9047afaffbc06dc99e2 (diff) | |
download | busybox-w32-ff2b6d21853ca6417a43c06f37a32201f881245d.tar.gz busybox-w32-ff2b6d21853ca6417a43c06f37a32201f881245d.tar.bz2 busybox-w32-ff2b6d21853ca6417a43c06f37a32201f881245d.zip |
logread: eliminate usage of data/bss
ifup: don't remove virtual iface prefixes (eth0:0)
function old new delta
shbuf 4 - -4
SMrup 6 - -6
SMrdn 12 - -12
static.label_buf 20 4 -16
get_var 158 140 -18
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes
text data bss dec hex filename
783501 962 9260 793723 c1c7b busybox_old
783483 942 9244 793669 c1c45 busybox_unstripped
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index e2d074605..60eac6ae6 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -11,7 +11,10 @@ | |||
11 | 11 | ||
12 | #if !defined CONFIG_SYSLOGD | 12 | #if !defined CONFIG_SYSLOGD |
13 | 13 | ||
14 | /* SYSLOG_NAMES defined to pull prioritynames[] and facilitynames[] | ||
15 | * from syslog.h. Grrrr - glibc puts those in _rwdata_! :( */ | ||
14 | #define SYSLOG_NAMES | 16 | #define SYSLOG_NAMES |
17 | #define SYSLOG_NAMES_CONST /* uclibc is saner :) */ | ||
15 | #include <sys/syslog.h> | 18 | #include <sys/syslog.h> |
16 | 19 | ||
17 | #else | 20 | #else |