summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-17 02:00:48 +0000
committerroot <root>2007-11-17 02:00:48 +0000
commitb05a0efa267648cf18cad1e018068034b735093b (patch)
tree810ca2692076b26ca881f486ef3123dbb22b66fe /ev.c
parentbdc7d079474f709e195c868021926b3c0c7d94a2 (diff)
*** empty log message ***
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);