Content-Length: 273369 | pFad | http://github.com/postgrespro/postgres/commit/9f7c527af308dcdaba2f0ff9d362d672e8886fb1

BA Fix LWLockReportWaitEnd() parameter list to be (void). · postgrespro/postgres@9f7c527 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9f7c527af308dcdaba2f0ff9d362d672e8886fb1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy