Allow redeclaration of typedef yyscan_t
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Sep 2025 06:13:05 +0000 (08:13 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Sep 2025 06:16:00 +0000 (08:16 +0200)
commitae0e1be9f2a20f6b64072dcee5b8dd7b9027a8fa
treefa301f4c07bb67a53b86621f47ef6512e291fcc4
parent675ddc4d704f4cde0bc72244263a9efbb0d32cb8
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
contrib/cube/cubedata.h
contrib/seg/segdata.h
src/backend/utils/adt/jsonpath_internal.h
src/bin/pgbench/pgbench.h
src/include/bootstrap/bootstrap.h
src/include/fe_utils/psqlscan_int.h
src/include/replication/syncrep.h
src/include/replication/walsender_private.h
src/pl/plpgsql/src/plpgsql.h