summary refs log tree commit diff
path: root/sysdeps/posix/dirfd.c
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 /sysdeps/posix/dirfd.c
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 'sysdeps/posix/dirfd.c')
-rw-r--r--sysdeps/posix/dirfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/dirfd.c b/sysdeps/posix/dirfd.c
index e09a45d717..5afc9f37e7 100644
--- a/sysdeps/posix/dirfd.c
+++ b/sysdeps/posix/dirfd.c
@@ -28,3 +28,4 @@ __dirfd (DIR *dirp)
 }
 
 weak_alias (__dirfd, dirfd)
+libc_hidden_def (dirfd)