diff options
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 9ed9dcbdbd9..2fef7a1128b 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); |