postgresql/src/include/nodes
Peter Eisentraut f7a929a007 Fix C23 compiler warning
The approach of declaring a function pointer with an empty argument
list and hoping that the compiler will not complain about casting it
to another type no longer works with C23, because foo() is now
equivalent to foo(void).

We don't need to do this here.  With a few struct forward declarations
we can supply a correct argument list without having to pull in
another header file.

(This is the only new warning with C23.  Together with the previous
fix a67a49648d, this makes the whole code compile cleanly under C23.)

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/95c6a9bf-d306-43d8-b880-664ef08f2944%40eisentraut.org
Discussion: https://www.postgresql.org/message-id/flat/87o72eo9iu.fsf%40gentoo.org
2024-11-26 13:37:06 +01:00
..
.gitignore Automatically generate node support functions 2022-07-09 08:53:59 +02:00
bitmapset.h Require empty Bitmapsets to be represented as NULL. 2023-03-02 11:47:26 -05:00
execnodes.h Undo unintentional ABI break in struct ResultRelInfo. 2024-11-16 12:58:26 -05:00
extensible.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
lockoptions.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
makefuncs.h Don't include CaseTestExpr in JsonValueExpr.formatted_expr 2023-07-21 19:28:31 +09:00
memnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build meson: Add dependencies to perl modules to various script invocations 2023-06-09 20:12:16 -07:00
miscnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
multibitmapset.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeFuncs.h Fix typos in comments 2023-05-02 12:23:08 +09:00
nodes.h Support "Right Anti Join" plan shapes. 2023-04-05 16:59:09 -04:00
params.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
parsenodes.h Revert MAINTAIN privilege and pg_maintain predefined role. 2023-07-07 11:25:23 -07:00
pathnodes.h Fix C23 compiler warning 2024-11-26 13:37:06 +01:00
pg_list.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
plannodes.h Fix problems when a plain-inheritance parent table is excluded. 2023-10-24 14:48:34 -04:00
primnodes.h SQL/JSON: Fix some oversights in commit b6e1157e7 2024-10-20 12:21:03 +09:00
print.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
queryjumble.h Remove dependency to query text in JumbleQuery() 2023-06-28 08:59:36 +09:00
readfuncs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
replnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscripting.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
supportnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tidbitmap.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
value.h Update copyright for 2023 2023-01-02 15:00:37 -05:00