about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--dirent/dirfd.c1
-rw-r--r--include/dirent.h1
-rw-r--r--sysdeps/mach/hurd/dirfd.c1
-rw-r--r--sysdeps/posix/dirfd.c1
5 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 58d4d94ec0..73ce5991f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
 	* include/setjmp.h (longjmp, siglongjmp): Add hidden protos.
 	* setjmp/longjmp.c (longjmp, siglongjmp): Add hidden defs.
 	* sysdeps/s390/longjmp.c (longjmp, siglongjmp): Add hidden defs.
+	* 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.
 
 2018-04-04  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
 
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)
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,
diff --git a/sysdeps/mach/hurd/dirfd.c b/sysdeps/mach/hurd/dirfd.c
index a184b72586..f70ee8d3e3 100644
--- a/sysdeps/mach/hurd/dirfd.c
+++ b/sysdeps/mach/hurd/dirfd.c
@@ -43,3 +43,4 @@ __dirfd (DIR *dirp)
 }
 
 weak_alias (__dirfd, dirfd)
+libc_hidden_def (dirfd)
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)