summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-02 13:55:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-02 13:55:44 -0400
commita1953f3a60cc7d1b8516d0b2c7e82ae8e9242de3 (patch)
tree14dde2fb239c3dcfcd593f9bcdfbdb62970189af /src
parent45aae8e78967b37f285e99617b919319bf2bf536 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/ipc/latch.c4
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)
{