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:
Tom Lane 2016-04-02 13:55:44 -04:00
parent 45aae8e789
commit a1953f3a60

View File

@ -143,7 +143,7 @@ static void WaitEventAdjustPoll(WaitEventSet *set, WaitEvent *event);
static void WaitEventAdjustWin32(WaitEventSet *set, WaitEvent *event); static void WaitEventAdjustWin32(WaitEventSet *set, WaitEvent *event);
#endif #endif
static int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout, static inline int WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
WaitEvent *occurred_events, int nevents); 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 * epoll_event struct contain a pointer to our events, making association
* easy. * easy.
*/ */
static int static inline int
WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout, WaitEventSetWaitBlock(WaitEventSet *set, int cur_timeout,
WaitEvent *occurred_events, int nevents) WaitEvent *occurred_events, int nevents)
{ {