mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
0868818d3e
commit
1de9287a02
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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).
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user