Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb3a10b

Browse files
committed
Hmm, baiji thinks we need explicit 'extern' here.
1 parent1d26226 commiteb3a10b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/port/getopt.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/port/getopt.c,v 1.12 2009/04/0421:55:50 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/port/getopt.c,v 1.13 2009/04/0422:36:11 tgl Exp $ */
22

33
/* This is used by psql under Win32 */
44

@@ -50,10 +50,19 @@ intopterr = 1,/* if error message should be printed */
5050
optopt;/* character checked for validity */
5151
char*optarg;/* argument associated with option */
5252

53+
#else
54+
55+
externintopterr;
56+
externintoptind;
57+
externintoptopt;
58+
externchar*optarg;
59+
5360
#endif
5461

5562
#ifndefHAVE_INT_OPTRESET
5663
intoptreset;/* reset getopt */
64+
#else
65+
externintoptreset;
5766
#endif
5867

5968
#defineBADCH(int)'?'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp