diff options
Diffstat (limited to 'src/nvim/event/time.c')
-rw-r--r-- | src/nvim/event/time.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/event/time.c b/src/nvim/event/time.c index f678f25f3f..861b15f6dd 100644 --- a/src/nvim/event/time.c +++ b/src/nvim/event/time.c @@ -1,9 +1,12 @@ +#include <stdbool.h> #include <stdint.h> #include <uv.h> +#include "nvim/event/defs.h" #include "nvim/event/loop.h" +#include "nvim/event/multiqueue.h" #include "nvim/event/time.h" -#include "nvim/func_attr.h" +#include "nvim/types_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/time.c.generated.h" @@ -53,7 +56,7 @@ static void time_watcher_cb(uv_timer_t *handle) // the timer blocked and there already is an unprocessed event waiting return; } - CREATE_EVENT(watcher->events, time_event, 1, watcher); + CREATE_EVENT(watcher->events, time_event, watcher); } static void close_event(void **argv) @@ -67,6 +70,6 @@ static void close_cb(uv_handle_t *handle) { TimeWatcher *watcher = handle->data; if (watcher->close_cb) { - CREATE_EVENT(watcher->events, close_event, 1, watcher); + CREATE_EVENT(watcher->events, close_event, watcher); } } |