diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-05 01:52:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-05 01:52:29 +0200 |
commit | c120981d72faa4a07a31d92f015353b12d72d992 (patch) | |
tree | 407019866083e092a858c283f5c365b03f760bf0 /include/dirent.h | |
parent | e5f9508a32426b7c3948dc741d84355071ed9539 (diff) | |
download | glibc-c120981d72faa4a07a31d92f015353b12d72d992.tar.gz glibc-c120981d72faa4a07a31d92f015353b12d72d992.tar.xz glibc-c120981d72faa4a07a31d92f015353b12d72d992.zip |
hurd: Avoid PLT for dirfd
* include/dirent.h (dirfd): Add hidden proto. * dirent/dirfd.c (dirfd): Add hidden def. * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def. * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
Diffstat (limited to 'include/dirent.h')
-rw-r--r-- | include/dirent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h index cc8f1895df..e533b0b59d 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -49,6 +49,7 @@ extern DIR *__alloc_dir (int fd, bool close_fd, int flags, extern __typeof (rewinddir) __rewinddir; extern __typeof (seekdir) __seekdir; extern __typeof (dirfd) __dirfd; +libc_hidden_proto (dirfd); extern void __scandir_cancel_handler (void *arg) attribute_hidden; extern int __scandir_tail (DIR *dp, |