aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-15 10:55:07 +0100
committerGitHub <noreply@github.com>2022-11-15 10:55:07 +0100
commit4b02291f81b76eda029d4eae1c1d59c1a946a032 (patch)
tree1c80f329c147d3a1caa254a12ea2f3e613018358 /src/nvim/os_unix.c
parentc6c265a86ce86e99fdb6d4375219b56dc293c832 (diff)
parent66360675cf4d091b7460e4a8e1435c13216c1929 (diff)
downloadrneovim-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_unix.c')
-rw-r--r--src/nvim/os_unix.c35
1 files changed, 2 insertions, 33 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index 473bf5072c..3521703fba 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -1,43 +1,12 @@
// 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 <errno.h>
-#include <inttypes.h>
-#include <stdbool.h>
-#include <string.h>
-
-#include "nvim/ascii.h"
-#include "nvim/buffer.h"
-#include "nvim/charset.h"
-#include "nvim/eval.h"
-#include "nvim/ex_cmds.h"
-#include "nvim/fileio.h"
-#include "nvim/garray.h"
-#include "nvim/getchar.h"
-#include "nvim/main.h"
-#include "nvim/mbyte.h"
-#include "nvim/memline.h"
-#include "nvim/memory.h"
-#include "nvim/message.h"
-#include "nvim/mouse.h"
-#include "nvim/msgpack_rpc/helpers.h"
-#include "nvim/os/input.h"
-#include "nvim/os/os.h"
-#include "nvim/os/shell.h"
-#include "nvim/os/signal.h"
-#include "nvim/os/time.h"
+#include "nvim/os/os_defs.h"
#include "nvim/os_unix.h"
-#include "nvim/path.h"
-#include "nvim/screen.h"
-#include "nvim/strings.h"
-#include "nvim/syntax.h"
#include "nvim/types.h"
-#include "nvim/ui.h"
-#include "nvim/vim.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
-# include "os_unix.c.generated.h"
+# include "os_unix.c.generated.h" // IWYU pragma: export
#endif
#if defined(HAVE_ACL)