diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-04 03:30:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-04 03:30:56 +0000 |
commit | c41f555e0c91588469586cb7fef23907582b2595 (patch) | |
tree | 61451cb29fdd0cc6aae97b46d61191c4fae53569 /include | |
parent | 5517266d33193ca13de097fa2775661c3bc6dac0 (diff) | |
download | glibc-c41f555e0c91588469586cb7fef23907582b2595.zip glibc-c41f555e0c91588469586cb7fef23907582b2595.tar.gz glibc-c41f555e0c91588469586cb7fef23907582b2595.tar.bz2 |
* 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.
Diffstat (limited to 'include')
-rw-r--r-- | include/glob.h | 4 | ||||
-rw-r--r-- | include/langinfo.h | 6 | ||||
-rw-r--r-- | include/stdlib.h | 5 | ||||
-rw-r--r-- | include/unistd.h | 11 | ||||
-rw-r--r-- | include/wordexp.h | 6 |
5 files changed, 32 insertions, 0 deletions
diff --git a/include/glob.h b/include/glob.h index d248cf6..d83cf5c 100644 --- a/include/glob.h +++ b/include/glob.h @@ -1,6 +1,10 @@ #ifndef _GLOB_H #include <posix/glob.h> +libc_hidden_proto (glob) +libc_hidden_proto (globfree) +libc_hidden_proto (globfree64) + /* Now define the internal interfaces. */ extern int __glob_pattern_p (__const char *__pattern, int __quote); extern int __glob64 (__const char *__pattern, int __flags, diff --git a/include/langinfo.h b/include/langinfo.h index 2a81c6d..82ff070 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -1 +1,7 @@ +#ifndef _LANGINFO_H + #include <locale/langinfo.h> + +libc_hidden_proto (nl_langinfo) + +#endif diff --git a/include/stdlib.h b/include/stdlib.h index c681aec..48ff8a0 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -14,6 +14,11 @@ libc_hidden_proto (abort) libc_hidden_proto (getenv) libc_hidden_proto (bsearch) libc_hidden_proto (qsort) +libc_hidden_proto (ecvt_r) +libc_hidden_proto (fcvt_r) +libc_hidden_proto (qecvt_r) +libc_hidden_proto (qfcvt_r) +libc_hidden_proto (lrand48_r) libc_hidden_proto (__secure_getenv) libc_hidden_proto (__strtof_internal) libc_hidden_proto (__strtod_internal) diff --git a/include/unistd.h b/include/unistd.h index b25a3b8..10fd603 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,6 +1,17 @@ #ifndef _UNISTD_H # include <posix/unistd.h> +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); diff --git a/include/wordexp.h b/include/wordexp.h index 64e036e..27ae045 100644 --- a/include/wordexp.h +++ b/include/wordexp.h @@ -1 +1,7 @@ +#ifndef _WORDEXP_H + #include <posix/wordexp.h> + +libc_hidden_proto (wordfree) + +#endif |