mirror of
https://github.com/postgres/postgres.git
synced 2026-04-29 18:32:53 -04:00
Fix LWLockReportWaitEnd() parameter list to be (void).
Previously it was an "old style" function declaration.
This commit is contained in:
parent
a6c845946d
commit
9f7c527af3
1 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ static void InitializeLWLocks(void);
|
||||||
static void RegisterLWLockTranches(void);
|
static void RegisterLWLockTranches(void);
|
||||||
|
|
||||||
static inline void LWLockReportWaitStart(LWLock *lock);
|
static inline void LWLockReportWaitStart(LWLock *lock);
|
||||||
static inline void LWLockReportWaitEnd();
|
static inline void LWLockReportWaitEnd(void);
|
||||||
|
|
||||||
#ifdef LWLOCK_STATS
|
#ifdef LWLOCK_STATS
|
||||||
typedef struct lwlock_stats_key
|
typedef struct lwlock_stats_key
|
||||||
|
|
@ -742,7 +742,7 @@ LWLockReportWaitStart(LWLock *lock)
|
||||||
* Report end of wait event for light-weight locks.
|
* Report end of wait event for light-weight locks.
|
||||||
*/
|
*/
|
||||||
static inline void
|
static inline void
|
||||||
LWLockReportWaitEnd()
|
LWLockReportWaitEnd(void)
|
||||||
{
|
{
|
||||||
pgstat_report_wait_end();
|
pgstat_report_wait_end();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue