summaryrefslogtreecommitdiff
path: root/libio/iofflush.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:31:37 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:31:37 +0000
commit74a412373b66a38b6ce8156f027ce26f89a7462f (patch)
treea59ce0af7ffd48641ca9124d697f7a6b57b26931 /libio/iofflush.c
parent2004eeba8fb2a92105bbf95b280fff6dc1d84144 (diff)
parent4cbfda396f7cd9e83116c28965ade73d80c1cb82 (diff)
Merge commit 'refs/top-bases/t/ONSTACK' into t/ONSTACK
Diffstat (limited to 'libio/iofflush.c')
-rw-r--r--libio/iofflush.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libio/iofflush.c b/libio/iofflush.c
index f81bc339f1..5f3a3246a9 100644
--- a/libio/iofflush.c
+++ b/libio/iofflush.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2018 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>
int
-_IO_fflush (_IO_FILE *fp)
+_IO_fflush (FILE *fp)
{
if (fp == NULL)
return _IO_flush_all ();
@@ -44,7 +44,6 @@ _IO_fflush (_IO_FILE *fp)
}
libc_hidden_def (_IO_fflush)
-#ifdef weak_alias
weak_alias (_IO_fflush, fflush)
libc_hidden_weak (fflush)
@@ -54,4 +53,3 @@ libc_hidden_def (__fflush_unlocked)
weak_alias (_IO_fflush, fflush_unlocked)
libc_hidden_weak (fflush_unlocked)
#endif
-#endif