diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-09-12 08:13:05 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-09-12 08:16:00 +0200 |
commit | ae0e1be9f2a20f6b64072dcee5b8dd7b9027a8fa (patch) | |
tree | fa301f4c07bb67a53b86621f47ef6512e291fcc4 /src/include/bootstrap/bootstrap.h | |
parent | 675ddc4d704f4cde0bc72244263a9efbb0d32cb8 (diff) |
Allow redeclaration of typedef yyscan_t
This is allowed in C11, so we don't need the workaround guards against
it anymore. This effectively reverts commit 382092a0cd2 that put
these guards in place.
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355@eisentraut.org
Diffstat (limited to 'src/include/bootstrap/bootstrap.h')
-rw-r--r-- | src/include/bootstrap/bootstrap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h index befc4fa1b3d..5ad347ec290 100644 --- a/src/include/bootstrap/bootstrap.h +++ b/src/include/bootstrap/bootstrap.h @@ -56,10 +56,7 @@ extern void boot_get_type_io_data(Oid typid, Oid *typoutput); union YYSTYPE; -#ifndef YY_TYPEDEF_YY_SCANNER_T -#define YY_TYPEDEF_YY_SCANNER_T typedef void *yyscan_t; -#endif extern int boot_yyparse(yyscan_t yyscanner); extern int boot_yylex_init(yyscan_t *yyscannerp); |