about summary refs log tree commit diff
path: root/stdio/memstream.c
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-11-15 19:50:04 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-11-15 19:50:04 +0000
commitebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f (patch)
treef15f3170c01642634de7bb7e27d3cf01cd8a72ca /stdio/memstream.c
parent63afd6ae4063981afa88e90f8b2b3653433fdcb8 (diff)
downloadglibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.gz
glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.xz
glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.zip
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/memstream.c')
-rw-r--r--stdio/memstream.c12
1 files changed, 3 insertions, 9 deletions
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;