From 96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Feb 2016 15:20:25 +0100 Subject: types: replace static consts with defines --- src/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/poll.c') diff --git a/src/poll.c b/src/poll.c index 123db6f..6507aad 100644 --- a/src/poll.c +++ b/src/poll.c @@ -54,7 +54,7 @@ /** Returns the time to the next task or -1 */ static inline int task_timeout(void) { fastd_timeout_t timeout = fastd_task_queue_timeout(); - if (timeout == fastd_timeout_inv) + if (timeout == FASTD_TIMEOUT_INV) return -1; int diff_msec = timeout - ctx.now; -- cgit v1.2.3