We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d26226 commit eb3a10bCopy full SHA for eb3a10b
src/port/getopt.c
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/src/port/getopt.c,v 1.12 2009/04/04 21:55:50 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/port/getopt.c,v 1.13 2009/04/04 22:36:11 tgl Exp $ */
2
3
/* This is used by psql under Win32 */
4
@@ -50,10 +50,19 @@ int opterr = 1, /* if error message should be printed */
50
optopt; /* character checked for validity */
51
char *optarg; /* argument associated with option */
52
53
+#else
54
+
55
+extern int opterr;
56
+extern int optind;
57
+extern int optopt;
58
+extern char *optarg;
59
60
#endif
61
62
#ifndef HAVE_INT_OPTRESET
63
int optreset; /* reset getopt */
64
65
+extern int optreset;
66
67
68
#define BADCH (int)'?'
0 commit comments