mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
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.
This commit is contained in:
parent
45aae8e789
commit
a1953f3a60
@ -143,7 +143,7 @@ static void WaitEventAdjustPoll(WaitEventSet *set, WaitEvent *event);
|
||||
static void WaitEventAdjustWin32(WaitEventSet *set, WaitEvent *event);
|
||||
#endif
|
||||
|
||||
static int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
|
||||
static inline int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
|
||||
WaitEvent *occurred_events, int nevents);
|
||||
|
||||
/*
|
||||
@ -968,7 +968,7 @@ WaitEventSetWait(WaitEventSet *set, long timeout,
|
||||
* epoll_event struct contain a pointer to our events, making association
|
||||
* easy.
|
||||
*/
|
||||
static int
|
||||
static inline int
|
||||
WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
|
||||
WaitEvent *occurred_events, int nevents)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user