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

Commita1953f3

Browse files
committed
Make all the declarations of WaitEventSetWaitBlock be marked "inline".
The inconsistency here triggered compiler warnings on some buildfarmmembers, and it's surely pretty pointless.
1 parent45aae8e commita1953f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/ipc/latch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static void WaitEventAdjustPoll(WaitEventSet *set, WaitEvent *event);
143143
staticvoidWaitEventAdjustWin32(WaitEventSet*set,WaitEvent*event);
144144
#endif
145145

146-
staticintWaitEventSetWaitBlock(WaitEventSet*set,intcur_timeout,
146+
staticinlineintWaitEventSetWaitBlock(WaitEventSet*set,intcur_timeout,
147147
WaitEvent*occurred_events,intnevents);
148148

149149
/*
@@ -968,7 +968,7 @@ WaitEventSetWait(WaitEventSet *set, long timeout,
968968
* epoll_event struct contain a pointer to our events, making association
969969
* easy.
970970
*/
971-
staticint
971+
staticinlineint
972972
WaitEventSetWaitBlock(WaitEventSet*set,intcur_timeout,
973973
WaitEvent*occurred_events,intnevents)
974974
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp