diff options
Diffstat (limited to 'src/backend/bootstrap/bootscanner.l')
-rw-r--r-- | src/backend/bootstrap/bootscanner.l | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/backend/bootstrap/bootscanner.l b/src/backend/bootstrap/bootscanner.l index 21d44424323..39298f97004 100644 --- a/src/backend/bootstrap/bootscanner.l +++ b/src/backend/bootstrap/bootscanner.l @@ -8,10 +8,12 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.3 1996/10/21 08:31:21 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.4 1996/10/23 07:39:39 scrappy Exp $ * *------------------------------------------------------------------------- */ +#include <time.h> + #include "postgres.h" #include "storage/block.h" @@ -34,7 +36,6 @@ #include "bootstrap/bootstrap.h" #include "nodes/primnodes.h" -#include <time.h> #include "utils/nabstime.h" #include "access/htup.h" #include "utils/tqual.h" @@ -44,6 +45,8 @@ #include "bootstrap_tokens.h" +#define YY_NO_UNPUT + /* some versions of lex define this as a macro */ #if defined(yywrap) #undef yywrap @@ -121,13 +124,14 @@ insert { return(INSERT_TUPLE); } %% -yywrap() +int +yywrap(void) { return 1; } -yyerror(str) - char *str; +void +yyerror(const char *str) { fprintf(stderr,"\tsyntax error %d : %s",yyline, str); } |