1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Fix ancient declaration inconsistency in cube & seg ... came across a

compiler that warns about it.
This commit is contained in:
Tom Lane
2004-09-02 20:53:42 +00:00
parent 31a242ae14
commit 3475fd1178
2 changed files with 2 additions and 4 deletions

View File

@ -13,8 +13,7 @@
#undef yylex /* falure to redefine yylex will result in a call to the */
#define yylex cube_yylex /* wrong scanner when running inside the postgres backend */
extern int yylex(); /* defined as cube_yylex in cubescan.c */
extern int errno;
extern int yylex(void); /* defined as cube_yylex in cubescan.l */
static char *scanbuf;
static int scanbuflen;