File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ static int SyncRepWaitMode = SYNC_REP_NO_WAIT;
6969
7070static void SyncRepQueueInsert (int mode );
7171static void SyncRepCancelWait (void );
72+ static int SyncRepWakeQueue (bool all , int mode );
7273
7374static int SyncRepGetStandbyPriority (void );
7475
@@ -546,7 +547,7 @@ SyncRepGetStandbyPriority(void)
546547 *
547548 * Must hold SyncRepLock.
548549 */
549- int
550+ static int
550551SyncRepWakeQueue (bool all , int mode )
551552{
552553 volatile WalSndCtlData * walsndctl = WalSndCtl ;
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ extern void SyncRepReleaseWaiters(void);
4747/* called by checkpointer */
4848extern void SyncRepUpdateSyncStandbysDefined (void );
4949
50- /* called by various procs */
51- extern int SyncRepWakeQueue (bool all , int mode );
52-
5350/* forward declaration to avoid pulling in walsender_private.h */
5451struct WalSnd ;
5552extern struct WalSnd * SyncRepGetSynchronousStandby (void );
You can’t perform that action at this time.
0 commit comments