diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-07-09 09:55:40 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-11 18:33:07 -0400 |
commit | 1de9287a024801effa292b877492ab76210223b0 (patch) | |
tree | 4ad8b0aabc0ee8e53584ae1a1ddf5cf80a19873d | |
parent | 0868818d3ea403e99bed9cc34d0a2ea9b0aa02f2 (diff) | |
download | rneovim-1de9287a024801effa292b877492ab76210223b0.tar.gz rneovim-1de9287a024801effa292b877492ab76210223b0.tar.bz2 rneovim-1de9287a024801effa292b877492ab76210223b0.zip |
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
-rw-r--r-- | src/nvim/api/buffer.h | 1 | ||||
-rw-r--r-- | src/nvim/api/tabpage.h | 1 | ||||
-rw-r--r-- | src/nvim/api/vim.h | 1 | ||||
-rw-r--r-- | src/nvim/api/window.h | 1 | ||||
-rw-r--r-- | src/nvim/hashtab.h | 1 | ||||
-rw-r--r-- | src/nvim/lib/klist.h | 1 | ||||
-rw-r--r-- | src/nvim/os/msgpack_rpc.h | 1 | ||||
-rw-r--r-- | src/nvim/os/server.c | 1 | ||||
-rw-r--r-- | src/nvim/os/shell.h | 1 |
9 files changed, 0 insertions, 9 deletions
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 <stdint.h> -#include <stdbool.h> #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 <stdint.h> -#include <stdbool.h> #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 <stdint.h> -#include <stdbool.h> #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 <stdint.h> -#include <stdbool.h> #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 <stdbool.h> #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 <stdbool.h> #include <stdlib.h> #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 <stdint.h> -#include <stdbool.h> #include <msgpack.h> 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 <stdlib.h> #include <string.h> #include <stdint.h> -#include <stdbool.h> #include <uv.h> 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 <stdbool.h> #include "nvim/types.h" // Flags for mch_call_shell() second argument |