From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 27 Oct 2014 08:45:57 +0000 (-0400)
Subject: Add variable names to two LWLock C prototypes
X-Git-Tag: REL9_5_ALPHA1~1298
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4da35a0d2c61231d8e91ed2ae424faea6f3501c;p=postgresql

Add variable names to two LWLock C prototypes

Previously only the variable types appeared.
---

diff --git a/src/include/storage/lwlock.h b/src/include/storage/lwlock.h
index 02c8f1aa8c..91cab876a2 100644
--- a/src/include/storage/lwlock.h
+++ b/src/include/storage/lwlock.h
@@ -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