summaryrefslogtreecommitdiff
path: root/libio/wmemstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/wmemstream.c')
-rw-r--r--libio/wmemstream.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/libio/wmemstream.c b/libio/wmemstream.c
index 61b5d8b346..1bdbae9fe8 100644
--- a/libio/wmemstream.c
+++ b/libio/wmemstream.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -62,9 +62,7 @@ static const struct _IO_jump_t _IO_wmem_jumps =
necessary. *BUFLOC and *SIZELOC are updated with the buffer's location
and the number of characters written on fflush or fclose. */
_IO_FILE *
-open_wmemstream (bufloc, sizeloc)
- wchar_t **bufloc;
- _IO_size_t *sizeloc;
+open_wmemstream (wchar_t **bufloc, _IO_size_t *sizeloc)
{
struct locked_FILE
{
@@ -105,8 +103,7 @@ open_wmemstream (bufloc, sizeloc)
static int
-_IO_wmem_sync (fp)
- _IO_FILE* fp;
+_IO_wmem_sync (_IO_FILE *fp)
{
struct _IO_FILE_wmemstream *mp = (struct _IO_FILE_wmemstream *) fp;
@@ -127,9 +124,7 @@ _IO_wmem_sync (fp)
static void
-_IO_wmem_finish (fp, dummy)
- _IO_FILE* fp;
- int dummy;
+_IO_wmem_finish (_IO_FILE *fp, int dummy)
{
struct _IO_FILE_wmemstream *mp = (struct _IO_FILE_wmemstream *) fp;