]> 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 1868578c7329228fbde4d135c36f05ad1674be83..37cbe3ad8b502aa9d711ae7e2fc39849eb5abae3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 2002 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)
 {
-  INTUSE(_IO_setbuffer) (fp, buf, _IO_BUFSIZ);
+  _IO_setbuffer (fp, buf, BUFSIZ);
 }