pgsql: Silence -Wmissing-variable-declarations in headerscheck. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Silence -Wmissing-variable-declarations in headerscheck.
Date
Msg-id E1us0Ms-002EwI-2Q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Silence -Wmissing-variable-declarations in headerscheck.

Newer gcc versions will emit warnings about missing extern
declarations if certain header files are compiled by themselves.
Add the "extern" declarations needed to quiet that.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/1127775.1754417387@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8722e7965fd24bf94c278fb86cab99d0c5360532

Modified Files
--------------
src/interfaces/ecpg/test/expected/preproc-strings.c | 15 ++++++++++++++-
src/interfaces/ecpg/test/preproc/strings.h          | 10 ++++++++++
src/tools/gen_keywordlist.pl                        | 11 ++++++++++-
3 files changed, 34 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix possible use after free in expand_partitioned_rtentry()
Next
From: Nathan Bossart
Date:
Subject: pgsql: Remove unused parameter from ProcessSlotSyncInterrupts().