]> 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 dd0bae4ede694d0c995645b2389ae2bc314bb969..37cbe3ad8b502aa9d711ae7e2fc39849eb5abae3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2017 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,7 +28,7 @@
 #include "stdio.h"
 
 void
-setbuf (_IO_FILE *fp, char *buf)
+setbuf (FILE *fp, char *buf)
 {
-  _IO_setbuffer (fp, buf, _IO_BUFSIZ);
+  _IO_setbuffer (fp, buf, BUFSIZ);
 }