]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/iofwrite_u.c
Remove __get_clockfreq
[thirdparty/glibc.git] / libio / iofwrite_u.c
index a1077eeb922640d3d967900e29641182bcf9e43b..fa6aa2306c4ec2a96223850d290890565e352458 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996-2000, 2002, 2008 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
 
 #undef fwrite_unlocked
 
-_IO_size_t
-fwrite_unlocked (buf, size, count, fp)
-     const void *buf;
-     _IO_size_t size;
-     _IO_size_t count;
-     _IO_FILE *fp;
+size_t
+fwrite_unlocked (const void *buf, size_t size, size_t count, FILE *fp)
 {
-  _IO_size_t request = size * count;
-  _IO_size_t written = 0;
+  size_t request = size * count;
+  size_t written = 0;
   CHECK_FILE (fp, 0);
   if (request == 0)
     return 0;