aboutsummaryrefslogtreecommitdiff
path: root/libio/iofread_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofread_u.c')
-rw-r--r--libio/iofread_u.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libio/iofread_u.c b/libio/iofread_u.c
index 69627165eb..aeef514ed2 100644
--- a/libio/iofread_u.c
+++ b/libio/iofread_u.c
@@ -26,6 +26,8 @@
#include "libioP.h"
#include <stdio.h>
+#undef fread_unlocked
+
_IO_size_t
fread_unlocked (buf, size, count, fp)
void *buf;
@@ -33,7 +35,7 @@ fread_unlocked (buf, size, count, fp)
_IO_size_t count;
_IO_FILE *fp;
{
- _IO_size_t bytes_requested = size*count;
+ _IO_size_t bytes_requested = size * count;
_IO_size_t bytes_read;
CHECK_FILE (fp, 0);
if (bytes_requested == 0)