]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/setbuf.c
RISC-V: Fix `test' operand error with soft-float ABI being configured
[thirdparty/glibc.git] / libio / setbuf.c
index deba7138584274a549f7962a07b7058c1513623e..37cbe3ad8b502aa9d711ae7e2fc39849eb5abae3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2013 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2019 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
@@ -28,9 +28,7 @@
 #include "stdio.h"
 
 void
-setbuf (fp, buf)
-     _IO_FILE *fp;
-     char *buf;
+setbuf (FILE *fp, char *buf)
 {
-  _IO_setbuffer (fp, buf, _IO_BUFSIZ);
+  _IO_setbuffer (fp, buf, BUFSIZ);
 }