projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c8459
)
Fix LWLockReportWaitEnd() parameter list to be (void).
author
Andres Freund
<andres@anarazel.de>
Sun, 27 Mar 2016 20:53:31 +0000
(22:53 +0200)
committer
Andres Freund
<andres@anarazel.de>
Sun, 27 Mar 2016 20:53:31 +0000
(22:53 +0200)
Previously it was an "old style" function declaration.
src/backend/storage/lmgr/lwlock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lwlock.c
b/src/backend/storage/lmgr/lwlock.c
index 31626cb5b040b38f3a6054ffec1f30004b685996..53ae7d5f31034fa67a563e13f471112cdb3e75d7 100644
(file)
--- 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();
}