pgsql: Update various forward declarations to use typedef

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Update various forward declarations to use typedef
Дата
Msg-id E1uy59D-000oCU-0t@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Update various forward declarations to use typedef

There are a number of forward declarations that use struct but not the
customary typedef, because that could have led to repeat typedefs,
which was not allowed.  This is now allowed in C11, so we can update
these to provide the typedefs as well, so that the later uses of the
types look more consistent.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d4d1fc527bdb333d818038081c17ed7d9b1697c1

Modified Files
--------------
src/include/commands/tablecmds.h      |  5 +++--
src/include/common/string.h           |  7 +++---
src/include/executor/executor.h       |  4 ++--
src/include/executor/tablefunc.h      | 18 ++++++++--------
src/include/nodes/execnodes.h         | 40 +++++++++++++++++------------------
src/include/nodes/nodeFuncs.h         |  6 +++---
src/include/nodes/params.h            | 15 ++++++-------
src/include/nodes/subscripting.h      | 14 ++++++------
src/include/nodes/supportnodes.h      | 26 +++++++++++------------
src/include/optimizer/optimizer.h     | 14 ++++++------
src/include/parser/parse_utilcmd.h    |  4 ++--
src/include/partitioning/partbounds.h |  6 +++---
src/include/partitioning/partprune.h  | 10 ++++-----
src/include/rewrite/rewriteManip.h    |  4 ++--
src/include/storage/bufmgr.h          | 24 ++++++++++-----------
src/include/storage/bulk_write.h      |  4 ++--
src/include/storage/dsm.h             |  4 ++--
src/include/storage/shmem.h           |  5 +++--
src/include/tcop/pquery.h             |  4 ++--
src/include/utils/array.h             |  6 +++---
src/include/utils/lsyscache.h         |  6 +++---
src/include/utils/plancache.h         | 14 ++++++------
src/include/utils/ruleutils.h         |  8 +++----
23 files changed, 124 insertions(+), 124 deletions(-)


В списке pgsql-committers по дате отправления: