diff options
author | Tom Lane | 2009-04-04 22:36:11 +0000 |
---|---|---|
committer | Tom Lane | 2009-04-04 22:36:11 +0000 |
commit | 81d7d3d5036e185a48795be10ec976a994f0d7a2 (patch) | |
tree | 60634b01a1204892f9bb4413acbfb3b1136787e9 | |
parent | 526b07f2cc1b49b25775c4bfaf18fca5d7d47aa2 (diff) |
Hmm, baiji thinks we need explicit 'extern' here.
-rw-r--r-- | src/port/getopt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/port/getopt.c b/src/port/getopt.c index 659f064600..0ac295b1c6 100644 --- a/src/port/getopt.c +++ b/src/port/getopt.c @@ -50,10 +50,19 @@ int opterr = 1, /* if error message should be printed */ optopt; /* character checked for validity */ char *optarg; /* argument associated with option */ +#else + +extern int opterr; +extern int optind; +extern int optopt; +extern char *optarg; + #endif #ifndef HAVE_INT_OPTRESET int optreset; /* reset getopt */ +#else +extern int optreset; #endif #define BADCH (int)'?' |