aboutsummaryrefslogtreecommitdiff
path: root/libio/iofread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofread.c')
-rw-r--r--libio/iofread.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libio/iofread.c b/libio/iofread.c
index c2d12d8693..a6bda98162 100644
--- a/libio/iofread.c
+++ b/libio/iofread.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -47,4 +47,8 @@ _IO_fread (buf, size, count, fp)
#ifdef weak_alias
weak_alias (_IO_fread, fread)
+
+# ifndef _IO_MTSAFE_IO
+weak_alias (_IO_fread, fread_unlocked)
+# endif
#endif