From c120981d72faa4a07a31d92f015353b12d72d992 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 5 Apr 2018 01:52:29 +0200 Subject: 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. --- include/dirent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dirent.h b/include/dirent.h index cc8f189..e533b0b 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, -- cgit v1.1