summaryrefslogtreecommitdiffstats
path: root/src/poll.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 15:20:25 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 15:20:25 +0100
commit96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 (patch)
tree8c32464bd3a2fc0f1178c2e357617a9c4e256114 /src/poll.c
parent8255dd8965cde43311d6e89ca9e9644fe29d4bca (diff)
downloadfastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.tar
fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.zip
types: replace static consts with defines
Diffstat (limited to 'src/poll.c')
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
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;