]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/iofflush.c
nss: Turn __nss_database_lookup into a compatibility symbol
[thirdparty/glibc.git] / libio / iofflush.c
index 236e145a918555a504e0aba9a3953520e74c891b..76d7bdad51bde5108b2e139478a4c45371a3e2a1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2015 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,8 +28,7 @@
 #include <stdio.h>
 
 int
-_IO_fflush (fp)
-     _IO_FILE *fp;
+_IO_fflush (FILE *fp)
 {
   if (fp == NULL)
     return _IO_flush_all ();
@@ -45,7 +44,6 @@ _IO_fflush (fp)
 }
 libc_hidden_def (_IO_fflush)
 
-#ifdef weak_alias
 weak_alias (_IO_fflush, fflush)
 libc_hidden_weak (fflush)
 
@@ -55,4 +53,3 @@ libc_hidden_def (__fflush_unlocked)
 weak_alias (_IO_fflush, fflush_unlocked)
 libc_hidden_weak (fflush_unlocked)
 #endif
-#endif