diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-02 13:55:44 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-02 13:55:44 -0400 |
commit | a1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3 (patch) | |
tree | 14dde2fb239c3dcfcd593f9bcdfbdb62970189af | |
parent | 45aae8e78967b37f285e99617b919319bf2bf536 (diff) | |
download | postgresql-a1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3.tar.gz postgresql-a1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3.zip |
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.
-rw-r--r-- | src/backend/storage/ipc/latch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c index 5641bd5ec9f..3fbe0e50795 100644 --- a/src/backend/storage/ipc/latch.c +++ b/src/backend/storage/ipc/latch.c @@ -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) { |