diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/readdir64.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/readdir64.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/generic/readdir64.c b/sysdeps/generic/readdir64.c index ce84340c8e..db26b9b1f6 100644 --- a/sysdeps/generic/readdir64.c +++ b/sysdeps/generic/readdir64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 1998 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 @@ -22,10 +22,11 @@ /* Read a directory entry from DIRP. */ struct dirent64 * -readdir64 (DIR *dirp) +__readdir64 (DIR *dirp) { __set_errno (ENOSYS); return NULL; } +weak_alias (__readdir64, readdir64) stub_warning (readdir64) #include <stub-tag.h> diff --git a/sysdeps/unix/sysv/linux/readdir64.c b/sysdeps/unix/sysv/linux/readdir64.c index 37623655f4..710f934ebb 100644 --- a/sysdeps/unix/sysv/linux/readdir64.c +++ b/sysdeps/unix/sysv/linux/readdir64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998 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 @@ -32,7 +32,7 @@ extern ssize_t __getdirentries64 (int, char *, size_t, off_t *); /* Read a directory entry from DIRP. */ struct dirent64 * -readdir64 (DIR *dirp) +__readdir64 (DIR *dirp) { struct dirent64 *dp; @@ -101,3 +101,4 @@ readdir64 (DIR *dirp) return dp; } +weak_alias (__readdir64, readdir64) |