pgsql: Add 'static' to file-local variables missing it.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add 'static' to file-local variables missing it.
Date: 2022-05-12 19:42:27
Message-ID: E1npEhf-000ODx-MP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add 'static' to file-local variables missing it.

Noticed when comparing the set of exported symbols without / with
-fvisibility=hidden after adding PGDLLIMPORT to intentionally exported
symbols.

Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/09cd33f47bb32f904c32b5aabe607a5125159cc4

Modified Files
--------------
src/backend/access/common/reloptions.c | 6 +++---
src/backend/access/transam/commit_ts.c | 2 +-
src/backend/access/transam/xact.c | 6 +++---
src/backend/catalog/storage.c | 2 +-
src/backend/replication/logical/launcher.c | 2 +-
src/backend/replication/logical/tablesync.c | 2 +-
src/backend/replication/logical/worker.c | 2 +-
src/backend/tcop/cmdtag.c | 2 +-
8 files changed, 12 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-05-13 00:41:58 pgsql: Remove PGDLLIMPORT marker from __pg_log_level
Previous Message Tom Lane 2022-05-12 19:35:33 pgsql: Do pre-release housekeeping on catalog data.