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

@@ -83,7 +83,7 @@ __sfvwrite(FILE *fp, struct __suio *uio)
do {
GETIOV(;);
#if 1 /* BIONIC: don't limit to 1KB writes */
w = (*fp->_write)(fp->_cookie, p, len);
w = (*fp->_write)(fp->_cookie, p, len);
#else
w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ2));
#endif
@@ -183,7 +183,7 @@ __sfvwrite(FILE *fp, struct __suio *uio)
} else if (s >= (w = fp->_bf._size)) {
w = (*fp->_write)(fp->_cookie, p, w);
if (w <= 0)
goto err;
goto err;
} else {
w = s;
COPY(w);