Skip to content

Commit 9a8e233

Browse files
committed
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.
1 parent e9dd03c commit 9a8e233

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/backend/utils/misc/guc-file.l

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ static sigjmp_buf *GUC_flex_fatal_jmp;
4747

4848
static void FreeConfigVariable(ConfigVariable *item);
4949

50-
/* flex fails to supply a prototype for yylex, so provide one */
51-
int GUC_yylex(void);
52-
5350
static int GUC_flex_fatal(const char *msg);
5451
static char *GUC_scanstr(const char *s);
5552

src/bin/psql/psqlscan.l

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ static int backtick_start_offset;
114114
#define LEXRES_OK 3 /* OK completion of backslash argument */
115115

116116

117-
int yylex(void);
118-
119117
static void evaluate_backtick(void);
120118
static void push_new_buffer(const char *newstr, const char *varname);
121119
static void pop_buffer_stack(PsqlScanState state);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy