aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-06 21:10:50 +0000
committerRoland McGrath <roland@gnu.org>2002-08-06 21:10:50 +0000
commite78f615d52703ec18f773e3778d0dbfc6aa3be35 (patch)
tree23805eaedbb7027869acf401a80fd534162e44a3 /include
parent1ab62b326e22ee3c9ab8b8b4144953698bc82cff (diff)
downloadglibc-e78f615d52703ec18f773e3778d0dbfc6aa3be35.tar
glibc-e78f615d52703ec18f773e3778d0dbfc6aa3be35.tar.gz
glibc-e78f615d52703ec18f773e3778d0dbfc6aa3be35.tar.bz2
glibc-e78f615d52703ec18f773e3778d0dbfc6aa3be35.zip
* include/getopt.h: But private decls inside [_GETOPT_H].
Use libc_hidden_proto for getopt_long, getopt_long_only. * posix/getopt1.c [_LIBC]: Include <getopt.h> instead of "getopt.h". Add libc_hidden_def. * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr): Define as a macro for __dl_iterate_phdr. * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name, made static. Add __ name as a strong alias. (internal_endnetgrent): Likewise. (internal_getnetgrent_r): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/getopt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 7a35c8a20b..70e790b396 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -2,7 +2,14 @@
#include <posix/getopt.h>
+# ifdef _GETOPT_H
+
+libc_hidden_proto (getopt_long)
+libc_hidden_proto (getopt_long_only)
+
/* Now define the internal interfaces. */
extern void __getopt_clean_environment (char **__env);
+# endif
+
#endif