]> granicus.if.org Git - postgresql/commitdiff
Add variable names to two LWLock C prototypes
authorBruce Momjian <bruce@momjian.us>
Mon, 27 Oct 2014 08:45:57 +0000 (04:45 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 27 Oct 2014 08:45:57 +0000 (04:45 -0400)
Previously only the variable types appeared.

src/include/storage/lwlock.h

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