summaryrefslogtreecommitdiff
path: root/lib-src/getopt1.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-12-04 11:17:43 +0000
committerRichard M. Stallman <rms@gnu.org>2002-12-04 11:17:43 +0000
commit554ed1ff28199ad8bbbb4c732b941e71b7466166 (patch)
treeb58c945982a517cd6ce06a2e21933779fd9f5efa /lib-src/getopt1.c
parente1e86c97c5c263835e7245ef9c221519ec234128 (diff)
downloademacs-554ed1ff28199ad8bbbb4c732b941e71b7466166.tar.gz
(const): Move outside !HAVE_CONFIG_H conditional.
(libintl.h): Include this if _LIBC. Otherwise include gettext.h. (wchar.h): Include, maybe. (attribute_hidden): Define if not defind. (__getopt_initialized): Use attribute_hidden. (__libc_argc, __libc_argv): Renamed from original_argc, etc. (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS. (SWAP_FLAGS): New definitions. (exchange): Test USE_NONOPTION_FLAGS. (_getopt_initialize): Test USE_NONOPTION_FLAGS. (_getopt_internal): Error if argc < 1. New local var print_errors. Improve test for ambiguous long option. Add LIBIO support for error message output. (NONOPTION_P): Test USE_NONOPTION_FLAGS.
Diffstat (limited to 'lib-src/getopt1.c')
0 files changed, 0 insertions, 0 deletions