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
This commit is contained in:
Pavel Platto 2014-07-09 09:55:40 +03:00 committed by Justin M. Keyes
parent 0868818d3e
commit 1de9287a02
9 changed files with 0 additions and 9 deletions

View File

@ -2,7 +2,6 @@
#define NVIM_API_BUFFER_H #define NVIM_API_BUFFER_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include "nvim/api/private/defs.h" #include "nvim/api/private/defs.h"

View File

@ -2,7 +2,6 @@
#define NVIM_API_TABPAGE_H #define NVIM_API_TABPAGE_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include "nvim/api/private/defs.h" #include "nvim/api/private/defs.h"

View File

@ -2,7 +2,6 @@
#define NVIM_API_VIM_H #define NVIM_API_VIM_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include "nvim/api/private/defs.h" #include "nvim/api/private/defs.h"

View File

@ -2,7 +2,6 @@
#define NVIM_API_WINDOW_H #define NVIM_API_WINDOW_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include "nvim/api/private/defs.h" #include "nvim/api/private/defs.h"

View File

@ -1,7 +1,6 @@
#ifndef NVIM_HASHTAB_H #ifndef NVIM_HASHTAB_H
#define NVIM_HASHTAB_H #define NVIM_HASHTAB_H
#include <stdbool.h>
#include "nvim/vim.h" #include "nvim/vim.h"
/// Type for hash number (hash calculation result). /// Type for hash number (hash calculation result).

View File

@ -26,7 +26,6 @@
#ifndef _AC_KLIST_H #ifndef _AC_KLIST_H
#define _AC_KLIST_H #define _AC_KLIST_H
#include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
#include "nvim/memory.h" #include "nvim/memory.h"

View File

@ -2,7 +2,6 @@
#define NVIM_OS_MSGPACK_RPC_H #define NVIM_OS_MSGPACK_RPC_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include <msgpack.h> #include <msgpack.h>

View File

@ -1,7 +1,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include <uv.h> #include <uv.h>

View File

@ -1,7 +1,6 @@
#ifndef NVIM_OS_SHELL_H #ifndef NVIM_OS_SHELL_H
#define NVIM_OS_SHELL_H #define NVIM_OS_SHELL_H
#include <stdbool.h>
#include "nvim/types.h" #include "nvim/types.h"
// Flags for mch_call_shell() second argument // Flags for mch_call_shell() second argument