about summary refs log tree commit diff
path: root/sysdeps/generic/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/read.c')
-rw-r--r--sysdeps/generic/read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/read.c b/sysdeps/generic/read.c
index d0fab0e305..3943edd689 100644
--- a/sysdeps/generic/read.c
+++ b/sysdeps/generic/read.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 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
@@ -40,8 +40,10 @@ __libc_read (int fd, void *buf, size_t nbytes)
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__libc_read)
 stub_warning (read)
 
 weak_alias (__libc_read, __read)
+libc_hidden_weak (__read)
 weak_alias (__libc_read, read)
 #include <stub-tag.h>