1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-28 11:44:57 +03:00

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
This commit is contained in:
Andres Freund
2022-05-12 09:19:04 -07:00
parent 905c020bef
commit 09cd33f47b
8 changed files with 12 additions and 12 deletions

View File

@@ -121,9 +121,9 @@ bool bsysscan = false;
* The XIDs are stored sorted in numerical order (not logical order) to make
* lookups as fast as possible.
*/
FullTransactionId XactTopFullTransactionId = {InvalidTransactionId};
int nParallelCurrentXids = 0;
TransactionId *ParallelCurrentXids;
static FullTransactionId XactTopFullTransactionId = {InvalidTransactionId};
static int nParallelCurrentXids = 0;
static TransactionId *ParallelCurrentXids;
/*
* Miscellaneous flag bits to record events which occur on the top level