From c41f555e0c91588469586cb7fef23907582b2595 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 4 Aug 2002 03:30:56 +0000 Subject: * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, execl, execle, execlp, execvp, getpid, getsid. * sysdeps/generic/alarm.c: Add libc_hidden_def. * sysdeps/unix/alarm.c: Likewise. * posix/confstr.c: Likewise. * posix/execvp.c: Likewise. * posix/execlp.c: Likewise. * posix/execle.c: Likewise. * posix/execl.c: Likewise. * sysdeps/generic/getsid.c: Likewise. * sysdeps/mach/hurd/getsid.c: Likewise. * sysdeps/generic/getpid.c: Add libc_hidden_weak. * sysdeps/mach/hurd/getpid.c: Likewise. * include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r, qecvt_r, qfcvt_r, lrand48_r. * misc/efgcvt_r.c: Add libc_hidden_def. * include/wordexp.h: Use libc_hidden_proto for wordfree. * sysdeps/generic/wordexp.c: Add libc_hidden_def. * include/langinfo.h: Use libc_hidden_proto for nl_langinfo. * locale/nl_langinfo.c: Add libc_hidden_def. * include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64. * sysdeps/generic/glob.c: Add libc_hidden_def. * sysdeps/generic/glob64.c: Likewise. * sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak. --- include/unistd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index b25a3b808d..10fd603e17 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,6 +1,17 @@ #ifndef _UNISTD_H # include +libc_hidden_proto (_exit) +libc_hidden_proto (alarm) +libc_hidden_proto (confstr) +libc_hidden_proto (execl) +libc_hidden_proto (execle) +libc_hidden_proto (execlp) +libc_hidden_proto (execvp) +libc_hidden_proto (getpid) +libc_hidden_proto (getsid) + + /* Now define the internal interfaces. */ extern int __access (__const char *__name, int __type); extern int __euidaccess (__const char *__name, int __type); -- cgit v1.2.3-70-g09d2