summaryrefslogtreecommitdiff
path: root/libio/iofread_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofread_u.c')
-rw-r--r--libio/iofread_u.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libio/iofread_u.c b/libio/iofread_u.c
index 25bea32a44..2c3baf99f3 100644
--- a/libio/iofread_u.c
+++ b/libio/iofread_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,11 +29,11 @@
#undef fread_unlocked
-_IO_size_t
-__fread_unlocked (void *buf, _IO_size_t size, _IO_size_t count, _IO_FILE *fp)
+size_t
+__fread_unlocked (void *buf, size_t size, size_t count, FILE *fp)
{
- _IO_size_t bytes_requested = size * count;
- _IO_size_t bytes_read;
+ size_t bytes_requested = size * count;
+ size_t bytes_read;
CHECK_FILE (fp, 0);
if (bytes_requested == 0)
return 0;