Skip to content

Commit a1953f3

Browse files
committed
Make all the declarations of WaitEventSetWaitBlock be marked "inline".
The inconsistency here triggered compiler warnings on some buildfarm members, and it's surely pretty pointless.
1 parent 45aae8e commit a1953f3

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
static void WaitEventAdjustWin32(WaitEventSet *set, WaitEvent *event);
144144
#endif
145145

146-
static int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
146+
static inline int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
147147
WaitEvent *occurred_events, int nevents);
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-
static int
971+
static inline int
972972
WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
973973
WaitEvent *occurred_events, int nevents)
974974
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy