diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 13:12:28 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 13:12:28 -0400 |
commit | 9a8e23311cac14168df6644e03d533a4b07f933e (patch) | |
tree | f5cfde4b2fdbc7dc590edb45d69494a477ae58c1 | |
parent | e9dd03c03aeed6486129e3101695b13d469c2985 (diff) | |
download | postgresql-9a8e23311cac14168df6644e03d533a4b07f933e.tar.gz postgresql-9a8e23311cac14168df6644e03d533a4b07f933e.zip |
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.
-rw-r--r-- | src/backend/utils/misc/guc-file.l | 3 | ||||
-rw-r--r-- | src/bin/psql/psqlscan.l | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l index b2f04e512a9..c5e0fac4671 100644 --- a/src/backend/utils/misc/guc-file.l +++ b/src/backend/utils/misc/guc-file.l @@ -47,9 +47,6 @@ static sigjmp_buf *GUC_flex_fatal_jmp; 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 char *GUC_scanstr(const char *s); diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index bb134a42d8a..be059abd8d9 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -114,8 +114,6 @@ static int backtick_start_offset; #define LEXRES_OK 3 /* OK completion of backslash argument */ -int yylex(void); - static void evaluate_backtick(void); static void push_new_buffer(const char *newstr, const char *varname); static void pop_buffer_stack(PsqlScanState state); |