1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* 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.
This commit is contained in:
Roland McGrath
2002-08-06 21:10:50 +00:00
parent 1ab62b326e
commit e78f615d52
5 changed files with 45 additions and 10 deletions

View File

@ -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