mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "segdata.h"
|
#include "segdata.h"
|
||||||
@ -14,7 +15,6 @@
|
|||||||
#undef yylex /* falure to redefine yylex will result in calling the */
|
#undef yylex /* falure to redefine yylex will result in calling the */
|
||||||
#define yylex seg_yylex /* wrong scanner when running inside postgres backend */
|
#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(); /* defined as seg_yylex in segscan.c */
|
||||||
extern int significant_digits( char *str ); /* defined in seg.c */
|
extern int significant_digits( char *str ); /* defined in seg.c */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user