diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-01-30 22:46:25 -0200 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-05-17 09:34:13 -0700 |
commit | a910abcd194830d2d113b3e183eb7df4d36cd92e (patch) | |
tree | 291303f658796db61bcbf9b8107b3a88a4f83c79 /libc/stdio/stdio.c | |
parent | 1297428e89ead45849068989d334d8b7eae2f602 (diff) | |
download | android_bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.tar.gz android_bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.tar.bz2 android_bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.zip |
improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc/stdio/stdio.c')
-rw-r--r-- | libc/stdio/stdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c index a4a27b53b..1596ebf6c 100644 --- a/libc/stdio/stdio.c +++ b/libc/stdio/stdio.c @@ -45,7 +45,7 @@ __sread(void *cookie, char *buf, int n) { FILE *fp = cookie; int ret; - + ret = read(fp->_file, buf, n); /* if the read succeeded, update the current offset */ if (ret >= 0) @@ -71,7 +71,7 @@ __sseek(void *cookie, fpos_t offset, int whence) { FILE *fp = cookie; off_t ret; - + ret = lseek(fp->_file, (off_t)offset, whence); if (ret == (off_t)-1) fp->_flags &= ~__SOFF; |