introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).

This commit is contained in:
Denis Vlasenko
2007-09-27 10:20:47 +00:00
parent 1acdc89e99
commit 4daad9004d
62 changed files with 208 additions and 210 deletions

View File

@ -937,7 +937,7 @@ static void ife_print(struct interface *ptr)
printf("(auto)");
}
#endif
puts("");
bb_putchar('\n');
if (ptr->has_ip) {
printf(" %s addr:%s ", ap->name,
@ -1073,7 +1073,7 @@ static void ife_print(struct interface *ptr)
if (ptr->outfill || ptr->keepalive)
printf(" Outfill:%d Keepalive:%d", ptr->outfill, ptr->keepalive);
#endif
puts("");
bb_putchar('\n');
/* If needed, display the interface statistics. */
@ -1122,9 +1122,9 @@ static void ife_print(struct interface *ptr)
}
if (ptr->map.dma)
printf("DMA chan:%x ", ptr->map.dma);
puts("");
bb_putchar('\n');
}
puts("");
bb_putchar('\n');
}