Commit 9f7c527a authored by Andres Freund's avatar Andres Freund

Fix LWLockReportWaitEnd() parameter list to be (void).

Previously it was an "old style" function declaration.
parent a6c84594
......@@ -167,7 +167,7 @@ static void InitializeLWLocks(void);
static void RegisterLWLockTranches(void);
static inline void LWLockReportWaitStart(LWLock *lock);
static inline void LWLockReportWaitEnd();
static inline void LWLockReportWaitEnd(void);
#ifdef LWLOCK_STATS
typedef struct lwlock_stats_key
......@@ -742,7 +742,7 @@ LWLockReportWaitStart(LWLock *lock)
* Report end of wait event for light-weight locks.
*/
static inline void
LWLockReportWaitEnd()
LWLockReportWaitEnd(void)
{
pgstat_report_wait_end();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment