From 1de9287a024801effa292b877492ab76210223b0 Mon Sep 17 00:00:00 2001 From: Pavel Platto Date: Wed, 9 Jul 2014 09:55:40 +0300 Subject: Remove stdbool.h from files which don't need it Done by manual inspection of the output of this script: grep -r -l -w "bool\|true\|false" * | grep 'c$\|h$' > has_bool grep -r -l "stdbool.h" * | grep 'c$\|h$' > has_include grep -F -x -v -f has_bool has_include --- src/nvim/api/buffer.h | 1 - src/nvim/api/tabpage.h | 1 - src/nvim/api/vim.h | 1 - src/nvim/api/window.h | 1 - src/nvim/hashtab.h | 1 - src/nvim/lib/klist.h | 1 - src/nvim/os/msgpack_rpc.h | 1 - src/nvim/os/server.c | 1 - src/nvim/os/shell.h | 1 - 9 files changed, 9 deletions(-) (limited to 'src') diff --git a/src/nvim/api/buffer.h b/src/nvim/api/buffer.h index 0262ea000e..9aa898f7da 100644 --- a/src/nvim/api/buffer.h +++ b/src/nvim/api/buffer.h @@ -2,7 +2,6 @@ #define NVIM_API_BUFFER_H #include -#include #include "nvim/api/private/defs.h" diff --git a/src/nvim/api/tabpage.h b/src/nvim/api/tabpage.h index b24a9795e5..a822844af9 100644 --- a/src/nvim/api/tabpage.h +++ b/src/nvim/api/tabpage.h @@ -2,7 +2,6 @@ #define NVIM_API_TABPAGE_H #include -#include #include "nvim/api/private/defs.h" diff --git a/src/nvim/api/vim.h b/src/nvim/api/vim.h index f15edb8548..5e0b35b562 100644 --- a/src/nvim/api/vim.h +++ b/src/nvim/api/vim.h @@ -2,7 +2,6 @@ #define NVIM_API_VIM_H #include -#include #include "nvim/api/private/defs.h" diff --git a/src/nvim/api/window.h b/src/nvim/api/window.h index 3a8cde18e2..632b160e62 100644 --- a/src/nvim/api/window.h +++ b/src/nvim/api/window.h @@ -2,7 +2,6 @@ #define NVIM_API_WINDOW_H #include -#include #include "nvim/api/private/defs.h" diff --git a/src/nvim/hashtab.h b/src/nvim/hashtab.h index e4ad5e57fe..172f5ca13e 100644 --- a/src/nvim/hashtab.h +++ b/src/nvim/hashtab.h @@ -1,7 +1,6 @@ #ifndef NVIM_HASHTAB_H #define NVIM_HASHTAB_H -#include #include "nvim/vim.h" /// Type for hash number (hash calculation result). diff --git a/src/nvim/lib/klist.h b/src/nvim/lib/klist.h index 4cc87263a4..e4a90fef33 100644 --- a/src/nvim/lib/klist.h +++ b/src/nvim/lib/klist.h @@ -26,7 +26,6 @@ #ifndef _AC_KLIST_H #define _AC_KLIST_H -#include #include #include "nvim/memory.h" diff --git a/src/nvim/os/msgpack_rpc.h b/src/nvim/os/msgpack_rpc.h index e185db3dc2..5aca900d2e 100644 --- a/src/nvim/os/msgpack_rpc.h +++ b/src/nvim/os/msgpack_rpc.h @@ -2,7 +2,6 @@ #define NVIM_OS_MSGPACK_RPC_H #include -#include #include diff --git a/src/nvim/os/server.c b/src/nvim/os/server.c index 6e77c6b334..b90e7e318b 100644 --- a/src/nvim/os/server.c +++ b/src/nvim/os/server.c @@ -1,7 +1,6 @@ #include #include #include -#include #include diff --git a/src/nvim/os/shell.h b/src/nvim/os/shell.h index e912baedf8..a4c588d7a3 100644 --- a/src/nvim/os/shell.h +++ b/src/nvim/os/shell.h @@ -1,7 +1,6 @@ #ifndef NVIM_OS_SHELL_H #define NVIM_OS_SHELL_H -#include #include "nvim/types.h" // Flags for mch_call_shell() second argument -- cgit