File tree 2 files changed +2
-4
lines changed
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;
69
69
70
70
static void SyncRepQueueInsert (int mode );
71
71
static void SyncRepCancelWait (void );
72
+ static int SyncRepWakeQueue (bool all , int mode );
72
73
73
74
static int SyncRepGetStandbyPriority (void );
74
75
@@ -546,7 +547,7 @@ SyncRepGetStandbyPriority(void)
546
547
*
547
548
* Must hold SyncRepLock.
548
549
*/
549
- int
550
+ static int
550
551
SyncRepWakeQueue (bool all , int mode )
551
552
{
552
553
volatile WalSndCtlData * walsndctl = WalSndCtl ;
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ extern void SyncRepReleaseWaiters(void);
47
47
/* called by checkpointer */
48
48
extern void SyncRepUpdateSyncStandbysDefined (void );
49
49
50
- /* called by various procs */
51
- extern int SyncRepWakeQueue (bool all , int mode );
52
-
53
50
/* forward declaration to avoid pulling in walsender_private.h */
54
51
struct WalSnd ;
55
52
extern struct WalSnd * SyncRepGetSynchronousStandby (void );
You can’t perform that action at this time.
0 commit comments