• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/
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
3***************
4*** 23,28 ****
5--- 23,36 ----
6  # define _GETOPT_H 1
7  #endif
8  
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>
15+ #endif
16+ 
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
20***************
21*** 111,117 ****
22     Also, when `ordering' is RETURN_IN_ORDER,
23     each non-option ARGV-element is returned here.  */
24  
25! extern char *optarg;
26  
27  /* Index in ARGV of the next element to be scanned.
28     This is used for communication to and from the caller
29--- 119,125 ----
30     Also, when `ordering' is RETURN_IN_ORDER,
31     each non-option ARGV-element is returned here.  */
32  
33! extern DLL_VARIABLE char *optarg;
34  
35  /* Index in ARGV of the next element to be scanned.
36     This is used for communication to and from the caller
37***************
38*** 125,140 ****
39     Otherwise, `optind' communicates from one call to the next
40     how much of ARGV has been scanned so far.  */
41  
42! extern int optind;
43  
44  /* Callers store zero here to inhibit the error message `getopt' prints
45     for unrecognized options.  */
46  
47! extern int opterr;
48  
49  /* Set to an option character which was unrecognized.  */
50  
51! extern int optopt;
52  
53  #ifndef __need_getopt
54  /* Describe the long-named options requested by the application.
55--- 133,148 ----
56     Otherwise, `optind' communicates from one call to the next
57     how much of ARGV has been scanned so far.  */
58  
59! extern DLL_VARIABLE int optind;
60  
61  /* Callers store zero here to inhibit the error message `getopt' prints
62     for unrecognized options.  */
63  
64! extern DLL_VARIABLE int opterr;
65  
66  /* Set to an option character which was unrecognized.  */
67  
68! extern DLL_VARIABLE int optopt;
69  
70  #ifndef __need_getopt
71  /* Describe the long-named options requested by the application.
72