summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-05 01:52:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-05 01:52:29 +0200
commitc120981d72faa4a07a31d92f015353b12d72d992 (patch)
tree407019866083e092a858c283f5c365b03f760bf0 /dirent
parente5f9508a32426b7c3948dc741d84355071ed9539 (diff)
downloadglibc-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 'dirent')
-rw-r--r--dirent/dirfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirent/dirfd.c b/dirent/dirfd.c
index b45bf83f5a..8e59cfa928 100644
--- a/dirent/dirfd.c
+++ b/dirent/dirfd.c
@@ -29,3 +29,4 @@ __dirfd (DIR *dirp)
 
 weak_alias (__dirfd, dirfd)
 stub_warning (dirfd)
+libc_hidden_def (dirfd)