diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-09 14:20:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 05:20:16 -0700 |
commit | 0fc8597f011e0927e529abd11bf0ddd8d0d1eaab (patch) | |
tree | 2339570a059d7ebb41f26db32b032440d1505ee7 /src/nvim/event/loop.h | |
parent | a36c6e5df959867ff4041405f4098b7833281517 (diff) | |
download | rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.tar.gz rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.tar.bz2 rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.zip |
refactor: format header files with uncrustify #15877
* refactor: format header files with uncrustify
* fixup(justin): skip formatting of terminfo_defs.h
* fixup: force winsock2 to be included first
* fixup: simplify disable/enable directive to "uncrustify:off/on"
Diffstat (limited to 'src/nvim/event/loop.h')
-rw-r--r-- | src/nvim/event/loop.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/event/loop.h b/src/nvim/event/loop.h index f5dd23ac8b..03cf7e489a 100644 --- a/src/nvim/event/loop.h +++ b/src/nvim/event/loop.h @@ -2,12 +2,11 @@ #define NVIM_EVENT_LOOP_H #include <stdint.h> - #include <uv.h> +#include "nvim/event/multiqueue.h" #include "nvim/lib/klist.h" #include "nvim/os/time.h" -#include "nvim/event/multiqueue.h" typedef void * WatcherPtr; @@ -65,7 +64,7 @@ typedef struct loop { break; \ } else if (remaining > 0) { \ uint64_t now = os_hrtime(); \ - remaining -= (int) ((now - before) / 1000000); \ + remaining -= (int)((now - before) / 1000000); \ before = now; \ if (remaining <= 0) { \ break; \ |