summaryrefslogtreecommitdiff
path: root/libio/iofwrite_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofwrite_u.c')
-rw-r--r--libio/iofwrite_u.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libio/iofwrite_u.c b/libio/iofwrite_u.c
index 188321bb08..71ac6266c0 100644
--- a/libio/iofwrite_u.c
+++ b/libio/iofwrite_u.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
@@ -29,12 +29,11 @@
#undef fwrite_unlocked
-_IO_size_t
-fwrite_unlocked (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;