aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-03-27 22:53:31 +0200
committerAndres Freund <andres@anarazel.de>2016-03-27 22:53:31 +0200
commit9f7c527af308dcdaba2f0ff9d362d672e8886fb1 (patch)
tree0298d44e4254da611b1551cf72c6327b368d7e8f /src
parenta6c845946dac5c1f26cf8729cf61f1d852f75484 (diff)
downloadpostgresql-9f7c527af308dcdaba2f0ff9d362d672e8886fb1.tar.gz
postgresql-9f7c527af308dcdaba2f0ff9d362d672e8886fb1.zip
Fix LWLockReportWaitEnd() parameter list to be (void).
Previously it was an "old style" function declaration.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/lmgr/lwlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 31626cb5b04..53ae7d5f310 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -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();
}