Commit a1953f3a authored by Tom Lane's avatar Tom Lane

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.
parent 45aae8e7
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment