Skip to content

Commit 9f7c527

Browse files
committed
Fix LWLockReportWaitEnd() parameter list to be (void).
Previously it was an "old style" function declaration.
1 parent a6c8459 commit 9f7c527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static void InitializeLWLocks(void);
167167
static void RegisterLWLockTranches(void);
168168

169169
static inline void LWLockReportWaitStart(LWLock *lock);
170-
static inline void LWLockReportWaitEnd();
170+
static inline void LWLockReportWaitEnd(void);
171171

172172
#ifdef LWLOCK_STATS
173173
typedef struct lwlock_stats_key
@@ -742,7 +742,7 @@ LWLockReportWaitStart(LWLock *lock)
742742
* Report end of wait event for light-weight locks.
743743
*/
744744
static inline void
745-
LWLockReportWaitEnd()
745+
LWLockReportWaitEnd(void)
746746
{
747747
pgstat_report_wait_end();
748748
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy