]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/iofread_u.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / libio / iofread_u.c
index 4e6d256c2e6a1cc6615c3cf2dfab9edbe0bdd9a8..854bdfc329b85770bb56ae848a924f3ba836d746 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2013 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
 #undef fread_unlocked
 
 _IO_size_t
-fread_unlocked (buf, size, count, fp)
-     void *buf;
-     _IO_size_t size;
-     _IO_size_t count;
-     _IO_FILE *fp;
+__fread_unlocked (void *buf, _IO_size_t size, _IO_size_t count, _IO_FILE *fp)
 {
   _IO_size_t bytes_requested = size * count;
   _IO_size_t bytes_read;
@@ -44,4 +40,5 @@ fread_unlocked (buf, size, count, fp)
   bytes_read = _IO_sgetn (fp, (char *) buf, bytes_requested);
   return bytes_requested == bytes_read ? count : bytes_read / size;
 }
-libc_hidden_def (fread_unlocked)
+libc_hidden_def (__fread_unlocked)
+weak_alias (__fread_unlocked, fread_unlocked)