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);
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user