Convert some extern variables to static

Peter Eisentraut <peter@eisentraut.org>

Commit: 720b0eaae9b8a8326b2b6a6ff88fca4f47c631d4
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-07-02T05:26:22Z
Releases: 18.0
Convert some extern variables to static

These probably should have been static all along, it was only
forgotten out of sloppiness.

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

Files

PathChange+/−
contrib/isn/EAN13.h modified +2 −2
contrib/isn/ISBN.h modified +4 −4
contrib/isn/ISMN.h modified +2 −2
contrib/isn/ISSN.h modified +2 −2
contrib/isn/UPC.h modified +2 −2
src/backend/commands/user.c modified +2 −2
src/backend/postmaster/launch_backend.c modified +1 −1
src/backend/replication/logical/slotsync.c modified +1 −1
src/backend/replication/logical/worker.c modified +1 −1
src/backend/utils/misc/guc_tables.c modified +4 −3
src/bin/pg_archivecleanup/pg_archivecleanup.c modified +8 −7
src/bin/pg_basebackup/bbstreamer_file.c modified +2 −2
src/bin/pg_basebackup/bbstreamer_gzip.c modified +2 −2
src/bin/pg_basebackup/bbstreamer_inject.c modified +1 −1
src/bin/pg_basebackup/bbstreamer_lz4.c modified +2 −2
src/bin/pg_basebackup/bbstreamer_tar.c modified +3 −3
src/bin/pg_basebackup/bbstreamer_zstd.c modified +2 −2
src/bin/pg_basebackup/walmethods.c modified +2 −2
src/bin/pgbench/pgbench.c modified +34 −33
src/bin/pg_checksums/pg_checksums.c modified +2 −2
src/bin/pg_combinebackup/pg_combinebackup.c modified +1 −1
src/bin/pg_rewind/pg_rewind.c modified +6 −6
src/bin/pg_test_timing/pg_test_timing.c modified +1 −1
src/bin/scripts/vacuumdb.c modified +1 −1
src/pl/plpgsql/src/pl_handler.c modified +2 −2
src/test/isolation/isolation_main.c modified +3 −3
src/test/modules/dummy_index_am/dummy_index_am.c modified +3 −3
src/test/modules/libpq_pipeline/libpq_pipeline.c modified +2 −2
src/test/modules/test_json_parser/test_json_parser_incremental.c modified +1 −1

Discussion