pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix -Wmissing-variable-declarations warnings for float.c special
Date: Thu, 25 Jul 2024 08:49:55 +0000
Message-ID: <E1sWuAd-0017yE-9q@gemulon.postgresql.org> (raw)

Fix -Wmissing-variable-declarations warnings for float.c special case

This adds extern declarations for the global variables defined in
float.c but not meant for external use.  This is a workaround to be
able to add -Wmissing-variable-declarations to the global set of
warning options in the near future.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/37c6923cf3d8ec1bd44924aab6f58f72754a0e7b

Modified Files
--------------
src/backend/utils/adt/float.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)



Message-ID: <E1sWuAd-0017yE-9q@gemulon.postgresql.org>
Permalink:  ../E1sWuAd-0017yE-9q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sWuAd-0017yE-9q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix -Wmissing-variable-declarations warnings for float.c special
  In-Reply-To: <E1sWuAd-0017yE-9q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox