pgsql: Silence -Wmissing-variable-declarations in headerscheck.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence -Wmissing-variable-declarations in headerscheck.
Date: 2025-08-29 14:46:19
Message-ID: E1us0Ms-002EwI-2Q@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-08-29 15:56:38 pgsql: Remove unused parameter from ProcessSlotSyncInterrupts().
Previous Message Stefan Kaltenbrunner 2025-08-29 12:57:05 Re: pgsql: oauth: Add unit tests for multiplexer handling