1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.

This commit is contained in:
Tom Lane
2005-07-16 15:23:37 +00:00
parent f3d95f3c7f
commit 24ede218a1

View File

@@ -3,6 +3,7 @@
#include "postgres.h"
#include <errno.h>
#include <math.h>
#include "utils/elog.h"
@@ -17,7 +18,6 @@
#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 significant_digits( char *str ); /* defined in seg.c */