Add variable names to two LWLock C prototypes

Previously only the variable types appeared.
This commit is contained in:
Bruce Momjian 2014-10-27 04:45:57 -04:00
parent f455fcfdb8
commit a4da35a0d2

View File

@ -207,8 +207,8 @@ extern LWLock *LWLockAssign(void);
* registration in the main shared memory segment wouldn't work for that case. * registration in the main shared memory segment wouldn't work for that case.
*/ */
extern int LWLockNewTrancheId(void); extern int LWLockNewTrancheId(void);
extern void LWLockRegisterTranche(int, LWLockTranche *); extern void LWLockRegisterTranche(int tranche_id, LWLockTranche *tranche);
extern void LWLockInitialize(LWLock *, int tranche_id); extern void LWLockInitialize(LWLock *lock, int tranche_id);
/* /*
* Prior to PostgreSQL 9.4, we used an enum type called LWLockId to refer * Prior to PostgreSQL 9.4, we used an enum type called LWLockId to refer