aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/wbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/wbuf.c')
-rw-r--r--newlib/libc/stdio/wbuf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/wbuf.c b/newlib/libc/stdio/wbuf.c
index 1106829..29dd03e 100644
--- a/newlib/libc/stdio/wbuf.c
+++ b/newlib/libc/stdio/wbuf.c
@@ -1,5 +1,3 @@
-/* No user fns here. Pesch 15apr92. */
-
/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -16,11 +14,13 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* No user fns here. Pesch 15apr92. */
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "%W% (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
+#include <_ansi.h>
#include <stdio.h>
#include "local.h"
#include "fvwrite.h"
@@ -32,9 +32,9 @@ static char sccsid[] = "%W% (Berkeley) %G%";
*/
int
-__swbuf (c, fp)
- register int c;
- register FILE *fp;
+_DEFUN(__swbuf, (c, fp),
+ register int c _AND
+ register FILE *fp)
{
register int n;