diff options
| author | Tom Lane | 2004-09-02 20:53:42 +0000 |
|---|---|---|
| committer | Tom Lane | 2004-09-02 20:53:42 +0000 |
| commit | 3475fd11783098726bebcd7033d05df5cf443dba (patch) | |
| tree | b2c9eb1f6ce6c6a6ff90b7d46f18312be8be5681 /contrib/seg/segparse.y | |
| parent | 31a242ae1453ce6f263028843662f23fb0fdf892 (diff) | |
Fix ancient declaration inconsistency in cube & seg ... came across a
compiler that warns about it.
Diffstat (limited to 'contrib/seg/segparse.y')
| -rw-r--r-- | contrib/seg/segparse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/seg/segparse.y b/contrib/seg/segparse.y index 9ed9dcbdbd..2fef7a1128 100644 --- a/contrib/seg/segparse.y +++ b/contrib/seg/segparse.y @@ -10,8 +10,7 @@ #undef yylex /* falure to redefine yylex will result in calling the */ #define yylex seg_yylex /* wrong scanner when running inside postgres backend */ - extern int errno; - extern int yylex(); /* defined as seg_yylex in segscan.c */ + extern int yylex(void); /* defined as seg_yylex in segscan.l */ extern int significant_digits( char *str ); /* defined in seg.c */ void seg_yyerror(const char *message); |
