summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index b47e20c..9e172b7 100644
--- a/ev.c
+++ b/ev.c
@@ -996,7 +996,7 @@ any_pending (EV_P)
return 0;
}
-static void
+inline void
call_pending (EV_P)
{
int pri;
@@ -1006,7 +1006,7 @@ call_pending (EV_P)
{
ANPENDING *p = pendings [pri] + --pendingcnt [pri];
- if (p->w)
+ if (expect_true (p->w))
{
p->w->pending = 0;
EV_CB_INVOKE (p->w, p->events);