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/memstream.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'stdio/memstream.c') diff --git a/stdio/memstream.c b/stdio/memstream.c index ab285f4624..304cc4ca85 100644 --- a/stdio/memstream.c +++ b/stdio/memstream.c @@ -29,9 +29,7 @@ struct memstream_info /* Enlarge STREAM's buffer. */ static void -enlarge_buffer (stream, c) - register FILE *stream; - int c; +enlarge_buffer (register FILE *stream, int c) { struct memstream_info *info = (struct memstream_info *) stream->__cookie; size_t need; @@ -96,10 +94,7 @@ enlarge_buffer (stream, c) There is no external state to munge. */ static int -seek (cookie, pos, whence) - void *cookie; - fpos_t *pos; - int whence; +seek (void *cookie, fpos_t *pos, int whence) { switch (whence) { @@ -120,8 +115,7 @@ seek (cookie, pos, whence) } static int -free_info (cookie) - void *cookie; +free_info (void *cookie) { #if 0 struct memstream_info *info = (struct memstream_info *) cookie; -- cgit v1.2.3