Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f7c527

Browse files
committed
Fix LWLockReportWaitEnd() parameter list to be (void).
Previously it was an "old style" function declaration.
1 parenta6c8459 commit9f7c527

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
staticvoidRegisterLWLockTranches(void);
168168

169169
staticinlinevoidLWLockReportWaitStart(LWLock*lock);
170-
staticinlinevoidLWLockReportWaitEnd();
170+
staticinlinevoidLWLockReportWaitEnd(void);
171171

172172
#ifdefLWLOCK_STATS
173173
typedefstructlwlock_stats_key
@@ -742,7 +742,7 @@ LWLockReportWaitStart(LWLock *lock)
742742
* Report end of wait event for light-weight locks.
743743
*/
744744
staticinlinevoid
745-
LWLockReportWaitEnd()
745+
LWLockReportWaitEnd(void)
746746
{
747747
pgstat_report_wait_end();
748748
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp