Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d01ea74

Browse files
committed
PGPRO-10866: Add static decoration to avoid error:
"no previous extern declaration for non-static variable [-Wmissing-variable-declarations]". Tags: pg_query_state
1 parent 90399a9 commit d01ea74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg_query_state.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ static List *GetRemoteBackendQueryStates(PGPROC *leader,
101101
ExplainFormat format);
102102

103103
/* Shared memory variables */
104-
shm_toc *toc = NULL;
105-
RemoteUserIdResult *counterpart_userid = NULL;
104+
static shm_toc *toc = NULL;
105+
static RemoteUserIdResult *counterpart_userid = NULL;
106106
pg_qs_params *params = NULL;
107107
shm_mq *mq = NULL;
108108

0 commit comments

Comments
 (0)