random tiny size savings

This commit is contained in:
Denis Vlasenko
2006-12-24 15:23:28 +00:00
parent 7cea262273
commit 0ee3999d13
5 changed files with 53 additions and 60 deletions

View File

@ -3243,8 +3243,8 @@ static int dohelp(struct op *t)
int col;
const struct builtincmd *x;
printf("\nBuilt-in commands:\n");
printf("-------------------\n");
puts("\nBuilt-in commands:\n"
"-------------------");
for (col = 0, x = builtincmds; x->builtinfunc != NULL; x++) {
if (!x->name)
@ -3259,8 +3259,6 @@ static int dohelp(struct op *t)
{
int i;
const struct BB_applet *applet;
extern const struct BB_applet applets[];
extern const size_t NUM_APPLETS;
for (i = 0, applet = applets; i < NUM_APPLETS; applet++, i++) {
if (!applet->name)
@ -3274,7 +3272,7 @@ static int dohelp(struct op *t)
}
}
#endif
printf("\n\n");
puts("\n");
return EXIT_SUCCESS;
}