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

@ -307,12 +307,12 @@ static int ask(const char *string, int def)
int c;
if (!repair) {
puts("");
bb_putchar('\n');
errors_uncorrected = 1;
return 0;
}
if (automatic) {
puts("");
bb_putchar('\n');
if (!def)
errors_uncorrected = 1;
return def;