Commit 9a8e2331 authored by Tom Lane's avatar Tom Lane

Remove a couple other vestigial yylex() declarations.

These were workarounds for a long-gone flex bug; all supported versions
of flex emit an extern declaration as expected.
parent e9dd03c0
...@@ -47,9 +47,6 @@ static sigjmp_buf *GUC_flex_fatal_jmp; ...@@ -47,9 +47,6 @@ static sigjmp_buf *GUC_flex_fatal_jmp;
static void FreeConfigVariable(ConfigVariable *item); static void FreeConfigVariable(ConfigVariable *item);
/* flex fails to supply a prototype for yylex, so provide one */
int GUC_yylex(void);
static int GUC_flex_fatal(const char *msg); static int GUC_flex_fatal(const char *msg);
static char *GUC_scanstr(const char *s); static char *GUC_scanstr(const char *s);
......
...@@ -114,8 +114,6 @@ static int backtick_start_offset; ...@@ -114,8 +114,6 @@ static int backtick_start_offset;
#define LEXRES_OK 3 /* OK completion of backslash argument */ #define LEXRES_OK 3 /* OK completion of backslash argument */
int yylex(void);
static void evaluate_backtick(void); static void evaluate_backtick(void);
static void push_new_buffer(const char *newstr, const char *varname); static void push_new_buffer(const char *newstr, const char *varname);
static void pop_buffer_stack(PsqlScanState state); static void pop_buffer_stack(PsqlScanState state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment