diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-27 17:21:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 17:21:58 +0800 |
commit | 574d25642fc9ca65b396633aeab6e2d32778b642 (patch) | |
tree | 3ec4fa989ef32615fc48d996bdafda448c31b03f /src/nvim/os | |
parent | 84bbe4b0ca935db1f6202db339aee5594a3b3908 (diff) | |
download | rneovim-574d25642fc9ca65b396633aeab6e2d32778b642.tar.gz rneovim-574d25642fc9ca65b396633aeab6e2d32778b642.tar.bz2 rneovim-574d25642fc9ca65b396633aeab6e2d32778b642.zip |
refactor: move Arena and ArenaMem to memory_defs.h (#26240)
Diffstat (limited to 'src/nvim/os')
-rw-r--r-- | src/nvim/os/dl.h | 3 | ||||
-rw-r--r-- | src/nvim/os/fs.h | 5 | ||||
-rw-r--r-- | src/nvim/os/input.h | 4 | ||||
-rw-r--r-- | src/nvim/os/shell.h | 4 | ||||
-rw-r--r-- | src/nvim/os/time.h | 4 | ||||
-rw-r--r-- | src/nvim/os/tty.h | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/src/nvim/os/dl.h b/src/nvim/os/dl.h index 9c41a28f69..0787c7fe46 100644 --- a/src/nvim/os/dl.h +++ b/src/nvim/os/dl.h @@ -1,8 +1,5 @@ #pragma once -#include <stdbool.h> -#include <stdint.h> - #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/dl.h.generated.h" #endif diff --git a/src/nvim/os/fs.h b/src/nvim/os/fs.h index aacb1c2f48..3e910be801 100644 --- a/src/nvim/os/fs.h +++ b/src/nvim/os/fs.h @@ -1,5 +1,10 @@ #pragma once +#include <stddef.h> // IWYU pragma: keep +#include <stdint.h> // IWYU pragma: keep +#include <stdio.h> // IWYU pragma: keep +#include <uv.h> // IWYU pragma: keep + #include "nvim/os/fs_defs.h" // IWYU pragma: export #include "nvim/types.h" diff --git a/src/nvim/os/input.h b/src/nvim/os/input.h index 113dbbb8d5..b077f80860 100644 --- a/src/nvim/os/input.h +++ b/src/nvim/os/input.h @@ -1,9 +1,9 @@ #pragma once #include <stdbool.h> -#include <stdint.h> +#include <stdint.h> // IWYU pragma: keep -#include "nvim/api/private/defs.h" +#include "nvim/api/private/defs.h" // IWYU pragma: keep #include "nvim/event/multiqueue.h" #include "nvim/macros.h" diff --git a/src/nvim/os/shell.h b/src/nvim/os/shell.h index 498c72e63d..82c83543af 100644 --- a/src/nvim/os/shell.h +++ b/src/nvim/os/shell.h @@ -1,8 +1,6 @@ #pragma once -#include <stdio.h> - -#include "nvim/types.h" +#include <stddef.h> // IWYU pragma: keep // Flags for os_call_shell() second argument typedef enum { diff --git a/src/nvim/os/time.h b/src/nvim/os/time.h index 8f8b5511bd..fa9989c757 100644 --- a/src/nvim/os/time.h +++ b/src/nvim/os/time.h @@ -1,8 +1,8 @@ #pragma once -#include <stdbool.h> +#include <stddef.h> // IWYU pragma: keep #include <stdint.h> -#include <time.h> +#include <time.h> // IWYU pragma: keep typedef uint64_t Timestamp; diff --git a/src/nvim/os/tty.h b/src/nvim/os/tty.h index 3a78573189..a24d875c05 100644 --- a/src/nvim/os/tty.h +++ b/src/nvim/os/tty.h @@ -1,5 +1,5 @@ #pragma once #ifdef INCLUDE_GENERATED_DECLARATIONS -# include "os/tty.h.generated.h" +# include "os/tty.h.generated.h" // IWYU pragma: export #endif |