improve readability of stdio: fix indentation and remove trailing spaces

Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:
André Goddard Rosa
2010-01-30 22:46:25 -02:00
committed by Jean-Baptiste Queru
parent 1297428e89
commit a910abcd19
15 changed files with 56 additions and 57 deletions

View File

@@ -63,12 +63,12 @@ fgets(char *buf, int n, FILE *fp)
/* EOF/error: stop with partial or no line */
if (s == buf)
return (NULL);
break;
}
break;
}
}
len = fp->_r;
p = fp->_p;
/*
* Scan through at most n bytes of the current buffer,
* looking for '\n'. If found, copy up to and including