@@ -158,7 +158,7 @@ rtld_hidden_proto (__libc_enable_secure)
/* Various internal function. */
-extern void __libc_check_standard_fds (void);
+extern void __libc_check_standard_fds (void) attribute_hidden;
/* Internal name for fork function. */
@@ -176,6 +176,24 @@ extern int __have_dup3 attribute_hidden;
extern int __getlogin_r_loginuid (char *name, size_t namesize)
attribute_hidden;
+# if IS_IN (rtld)
+extern __typeof (__access) __access attribute_hidden;
+extern __typeof (__brk) __brk attribute_hidden;
+extern __typeof (__lseek) __lseek attribute_hidden;
+extern __typeof (__profil) __profil attribute_hidden;
+extern __typeof (__read) __read attribute_hidden;
+extern __typeof (__sbrk) __sbrk attribute_hidden;
+# ifndef __gnu_hurd__
+/* On Hurd, these in ld.so will be preempted by the ones in libc.so after
+ bootstrap. */
+extern __typeof (__close) __close attribute_hidden;
+extern __typeof (__getcwd) __getcwd attribute_hidden;
+extern __typeof (__getpid) __getpid attribute_hidden;
+extern __typeof (__libc_read) __libc_read attribute_hidden;
+extern __typeof (__libc_write) __libc_write attribute_hidden;
+# endif
+# endif
+
__END_DECLS
# endif