diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /networking/interface.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.bz2 busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.zip |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'networking/interface.c')
-rw-r--r-- | networking/interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/interface.c b/networking/interface.c index 61ce12ef1..471ac529e 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -937,7 +937,7 @@ static void ife_print(struct interface *ptr) | |||
937 | printf("(auto)"); | 937 | printf("(auto)"); |
938 | } | 938 | } |
939 | #endif | 939 | #endif |
940 | puts(""); | 940 | bb_putchar('\n'); |
941 | 941 | ||
942 | if (ptr->has_ip) { | 942 | if (ptr->has_ip) { |
943 | printf(" %s addr:%s ", ap->name, | 943 | printf(" %s addr:%s ", ap->name, |
@@ -1073,7 +1073,7 @@ static void ife_print(struct interface *ptr) | |||
1073 | if (ptr->outfill || ptr->keepalive) | 1073 | if (ptr->outfill || ptr->keepalive) |
1074 | printf(" Outfill:%d Keepalive:%d", ptr->outfill, ptr->keepalive); | 1074 | printf(" Outfill:%d Keepalive:%d", ptr->outfill, ptr->keepalive); |
1075 | #endif | 1075 | #endif |
1076 | puts(""); | 1076 | bb_putchar('\n'); |
1077 | 1077 | ||
1078 | /* If needed, display the interface statistics. */ | 1078 | /* If needed, display the interface statistics. */ |
1079 | 1079 | ||
@@ -1122,9 +1122,9 @@ static void ife_print(struct interface *ptr) | |||
1122 | } | 1122 | } |
1123 | if (ptr->map.dma) | 1123 | if (ptr->map.dma) |
1124 | printf("DMA chan:%x ", ptr->map.dma); | 1124 | printf("DMA chan:%x ", ptr->map.dma); |
1125 | puts(""); | 1125 | bb_putchar('\n'); |
1126 | } | 1126 | } |
1127 | puts(""); | 1127 | bb_putchar('\n'); |
1128 | } | 1128 | } |
1129 | 1129 | ||
1130 | 1130 | ||