From ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Fri, 15 Nov 1996 19:50:04 +0000 Subject: Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG * sysdeps/posix/readv.c (readv): Change return type to ssize_t. Deansideclized. * sysdeps/posix/writev.c (writev): Likewise. --- stdio/internals.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'stdio/internals.c') diff --git a/stdio/internals.c b/stdio/internals.c index 8c2acc4026..8ec731fa62 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; -- cgit v1.2.3