summaryrefslogtreecommitdiff
path: root/contrib/cube
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-02 20:53:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-02 20:53:42 +0000
commit3475fd11783098726bebcd7033d05df5cf443dba (patch)
treeb2c9eb1f6ce6c6a6ff90b7d46f18312be8be5681 /contrib/cube
parent31a242ae1453ce6f263028843662f23fb0fdf892 (diff)
downloadpostgresql-3475fd11783098726bebcd7033d05df5cf443dba.tar.gz
Fix ancient declaration inconsistency in cube & seg ... came across a
compiler that warns about it.
Diffstat (limited to 'contrib/cube')
-rw-r--r--contrib/cube/cubeparse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y
index e996a488c6..c92bc7b474 100644
--- a/contrib/cube/cubeparse.y
+++ b/contrib/cube/cubeparse.y
@@ -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;