1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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
This commit is contained in:
Peter Eisentraut
2024-07-02 06:53:19 +02:00
parent a4c87df43a
commit 720b0eaae9
29 changed files with 99 additions and 96 deletions

View File

@ -103,7 +103,7 @@ typedef struct SlotSyncCtxStruct
slock_t mutex;
} SlotSyncCtxStruct;
SlotSyncCtxStruct *SlotSyncCtx = NULL;
static SlotSyncCtxStruct *SlotSyncCtx = NULL;
/* GUC variable */
bool sync_replication_slots = false;

View File

@ -275,7 +275,7 @@ typedef enum
} TransApplyAction;
/* errcontext tracker */
ApplyErrorCallbackArg apply_error_callback_arg =
static ApplyErrorCallbackArg apply_error_callback_arg =
{
.command = 0,
.rel = NULL,