Coding style fixes, mostly indentation and whitespace

This commit is contained in:
Markus Armbruster 2010-05-18 22:09:01 +02:00
parent 8a0d117d45
commit 373651359e
47 changed files with 131 additions and 130 deletions

View file

@ -349,7 +349,7 @@ deffld(int fldno, char *name, int idx)
int res;
res = stmtch(name, ca, offsetof(struct castr, ca_name),
sizeof(struct castr));
sizeof(struct castr));
if (res < 0)
return gripe("Header %s of field %d is %s", name, fldno + 1,
res == M_NOTUNIQUE ? "ambiguous" : "unknown");
@ -851,7 +851,7 @@ xufooter(FILE *fp, struct castr ca[], int recs)
res = -1;
if (human) {
if (fscanf(fp, "config%n", &res) != 0 || res < 0)
if (fscanf(fp, "config%n", &res) != 0 || res < 0)
return gripe("Malformed table footer");
} else {
if (fscanf(fp, "%d", &n) != 1)