1 *** gnulib/lib/getopt.in.h 2005-09-23 06:15:13.000000000 +0200
2 --- gettext-tools/lib/getopt.in.h 2006-04-24 03:08:25.000000000 +0200
9 + /* Ensure that DLL_VARIABLE is defined. Since on OSF/1 4.0 and Irix 6.5
10 + <stdlib.h> includes <getopt.h>, and <config.h> is not a prerequisite for
11 + using <stdlib.h>, this file can be included without a prior
12 + "#include <config.h>". */
13 + #ifdef HAVE_CONFIG_H
14 + # include <config.h>
17 /* Standalone applications should #define __GETOPT_PREFIX to an
18 identifier that prefixes the external functions and variables
19 defined in this header. When this happens, include the
22 Also, when 'ordering' is RETURN_IN_ORDER,
23 each non-option ARGV-element is returned here. */
25 ! extern char *optarg;
27 /* Index in ARGV of the next element to be scanned.
28 This is used for communication to and from the caller
30 Also, when 'ordering' is RETURN_IN_ORDER,
31 each non-option ARGV-element is returned here. */
33 ! extern DLL_VARIABLE char *optarg;
35 /* Index in ARGV of the next element to be scanned.
36 This is used for communication to and from the caller
39 Otherwise, 'optind' communicates from one call to the next
40 how much of ARGV has been scanned so far. */
44 /* Callers store zero here to inhibit the error message 'getopt' prints
45 for unrecognized options. */
49 /* Set to an option character which was unrecognized. */
54 /* Describe the long-named options requested by the application.
56 Otherwise, 'optind' communicates from one call to the next
57 how much of ARGV has been scanned so far. */
59 ! extern DLL_VARIABLE int optind;
61 /* Callers store zero here to inhibit the error message 'getopt' prints
62 for unrecognized options. */
64 ! extern DLL_VARIABLE int opterr;
66 /* Set to an option character which was unrecognized. */
68 ! extern DLL_VARIABLE int optopt;
71 /* Describe the long-named options requested by the application.