Content-Length: 273160 | pFad | http://github.com/postgrespro/postgres/commit/a1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3

B5 Make all the declarations of WaitEventSetWaitBlock be marked "inline". · postgrespro/postgres@a1953f3 · GitHub
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)








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/a1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy