more KNF, mostly whitespace, this time more manual labour applying style(9)

This commit is contained in:
tg
2009-06-10 18:12:51 +00:00
parent 39bb71fc54
commit 0432f97ffe
18 changed files with 524 additions and 523 deletions

7
tree.c
View File

@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.27 2009/06/08 20:06:49 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.28 2009/06/10 18:12:50 tg Exp $");
#define INDENT 4
@ -84,8 +84,7 @@ ptree(struct op *t, int indent, struct shf *shf)
shf_puts("! ", shf);
t = t->right;
goto Chain;
case TDBRACKET:
{
case TDBRACKET: {
int i;
shf_puts("[[", shf);
@ -93,7 +92,7 @@ ptree(struct op *t, int indent, struct shf *shf)
fptreef(shf, indent, " %S", t->args[i]);
shf_puts(" ]] ", shf);
break;
}
}
case TSELECT:
fptreef(shf, indent, "select %s ", t->str);
/* FALLTHRU */