diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:20:25 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:20:25 +0100 |
commit | 96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 (patch) | |
tree | 8c32464bd3a2fc0f1178c2e357617a9c4e256114 /src/poll.c | |
parent | 8255dd8965cde43311d6e89ca9e9644fe29d4bca (diff) | |
download | fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.tar fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.zip |
types: replace static consts with defines
Diffstat (limited to 'src/poll.c')
-rw-r--r-- | src/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |