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

Commit3475fd1

Browse files
committed
Fix ancient declaration inconsistency in cube & seg ... came across a
compiler that warns about it.
1 parent31a242a commit3475fd1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎contrib/cube/cubeparse.y

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
#undef yylex/* falure to redefine yylex will result in a call to the*/
1414
#defineyylex cube_yylex/* wrong scanner when running inside the postgres backend*/
1515

16-
externintyylex();/* defined as cube_yylex in cubescan.c*/
17-
externint errno;
16+
externintyylex(void);/* defined as cube_yylex in cubescan.l*/
1817

1918
staticchar *scanbuf;
2019
staticintscanbuflen;

‎contrib/seg/segparse.y

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
#undef yylex/* falure to redefine yylex will result in calling the*/
1111
#defineyylex seg_yylex/* wrong scanner when running inside postgres backend*/
1212

13-
externint errno;
14-
externintyylex();/* defined as seg_yylex in segscan.c*/
13+
externintyylex(void);/* defined as seg_yylex in segscan.l*/
1514
externintsignificant_digits(char *str );/* defined in seg.c*/
1615

1716
voidseg_yyerror(constchar *message);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp