diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-11-15 10:55:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 10:55:07 +0100 |
commit | 4b02291f81b76eda029d4eae1c1d59c1a946a032 (patch) | |
tree | 1c80f329c147d3a1caa254a12ea2f3e613018358 /src/nvim/os/time.c | |
parent | c6c265a86ce86e99fdb6d4375219b56dc293c832 (diff) | |
parent | 66360675cf4d091b7460e4a8e1435c13216c1929 (diff) | |
download | rneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.tar.gz rneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.tar.bz2 rneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.zip |
Merge pull request #20157 from dundargoc/build/iwyu
build: allow IWYU to fix includes for all .c files
Diffstat (limited to 'src/nvim/os/time.c')
-rw-r--r-- | src/nvim/os/time.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/nvim/os/time.c b/src/nvim/os/time.c index 161c8d28b8..7ba2bd155e 100644 --- a/src/nvim/os/time.c +++ b/src/nvim/os/time.c @@ -1,22 +1,34 @@ // This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com -#include <assert.h> +#include <inttypes.h> #include <limits.h> +#include <stdbool.h> +#include <stdlib.h> +#include <string.h> +#include <time.h> + #include <uv.h> -#include "nvim/assert.h" +#include "auto/config.h" #include "nvim/event/loop.h" +#include "nvim/gettext.h" +#include "nvim/globals.h" +#include "nvim/log.h" +#include "nvim/macros.h" #include "nvim/main.h" +#include "nvim/memory.h" #include "nvim/os/input.h" #include "nvim/os/os.h" #include "nvim/os/time.h" +struct tm; + static uv_mutex_t delay_mutex; static uv_cond_t delay_cond; #ifdef INCLUDE_GENERATED_DECLARATIONS -# include "os/time.c.generated.h" +# include "os/time.c.generated.h" // IWYU pragma: export #endif /// Initializes the time module |