diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-11-15 19:50:04 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-11-15 19:50:04 +0000 |
commit | ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f (patch) | |
tree | f15f3170c01642634de7bb7e27d3cf01cd8a72ca /stdio/internals.c | |
parent | 63afd6ae4063981afa88e90f8b2b3653433fdcb8 (diff) | |
download | glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.zip glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.gz glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.bz2 |
Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* sysdeps/posix/readv.c (readv): Change return type to ssize_t.
Deansideclized.
* sysdeps/posix/writev.c (writev): Likewise.
Diffstat (limited to 'stdio/internals.c')
-rw-r--r-- | stdio/internals.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/stdio/internals.c b/stdio/internals.c index 8c2acc4..8ec731f 100644 --- a/stdio/internals.c +++ b/stdio/internals.c @@ -24,8 +24,7 @@ Cambridge, MA 02139, USA. */ /* Make sure that FP has its functions set. */ void -__stdio_check_funcs (fp) - register FILE *fp; +__stdio_check_funcs (register FILE *fp) { if (!fp->__seen) { @@ -51,8 +50,7 @@ __stdio_check_funcs (fp) /* Figure out what kind of buffering (none, line, or full) and what buffer size to give FP. */ static void -init_stream (fp) - register FILE *fp; +init_stream (register FILE *fp) { __stdio_check_funcs (fp); @@ -141,8 +139,7 @@ __stdio_check_offset (stream) seeking as necessary and updating its `offset' field. Sets ferror(FP) (and possibly errno) for errors. */ static void -seek_to_target (fp) - FILE *fp; +seek_to_target (FILE *fp) { int save = errno; if (__stdio_check_offset (fp) == EOF) @@ -197,9 +194,7 @@ seek_to_target (fp) flushed to avoid a system call for a single character. This is the default `output room' function. */ static void -flushbuf (fp, c) - register FILE *fp; - int c; +flushbuf (register FILE *fp, int c) { int flush_only = c == EOF; size_t buffer_written; @@ -394,8 +389,7 @@ flushbuf (fp, c) /* Fill the buffer for FP and return the first character read (or EOF). This is the default `input_room' function. */ static int -fillbuf (fp) - register FILE *fp; +fillbuf (register FILE *fp) { /* How far into the buffer we read we want to start bufp. */ size_t buffer_offset = 0; |