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

Commit a4da35a

Browse files
committed
Add variable names to two LWLock C prototypes
Previously only the variable types appeared.
1 parent f455fcf commit a4da35a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/storage/lwlock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ extern LWLock *LWLockAssign(void);
207207
* registration in the main shared memory segment wouldn't work for that case.
208208
*/
209209
extern int LWLockNewTrancheId(void);
210-
extern void LWLockRegisterTranche(int, LWLockTranche *);
211-
extern void LWLockInitialize(LWLock *, int tranche_id);
210+
extern void LWLockRegisterTranche(int tranche_id, LWLockTranche *tranche);
211+
extern void LWLockInitialize(LWLock *lock, int tranche_id);
212212

213213
/*
214214
* Prior to PostgreSQL 9.4, we used an enum type called LWLockId to refer

0 commit comments

Comments
 (0)