diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/buffer.c | 1 | ||||
-rw-r--r-- | src/nvim/diff.c | 2 | ||||
-rw-r--r-- | src/nvim/edit.c | 1 | ||||
-rw-r--r-- | src/nvim/eval.c | 2 | ||||
-rw-r--r-- | src/nvim/ex_cmds2.c | 1 | ||||
-rw-r--r-- | src/nvim/ex_docmd.c | 1 | ||||
-rw-r--r-- | src/nvim/ex_eval.c | 1 | ||||
-rw-r--r-- | src/nvim/file_search.c | 1 | ||||
-rw-r--r-- | src/nvim/fileio.c | 1 | ||||
-rw-r--r-- | src/nvim/getchar.c | 1 | ||||
-rw-r--r-- | src/nvim/globals.h | 2 | ||||
-rw-r--r-- | src/nvim/if_cscope.c | 1 | ||||
-rw-r--r-- | src/nvim/memline.c | 1 | ||||
-rw-r--r-- | src/nvim/memory.c | 1 | ||||
-rw-r--r-- | src/nvim/message.c | 1 | ||||
-rw-r--r-- | src/nvim/ops.c | 1 | ||||
-rw-r--r-- | src/nvim/option.c | 1 | ||||
-rw-r--r-- | src/nvim/os/channel.c | 1 | ||||
-rw-r--r-- | src/nvim/os/dl.c | 1 | ||||
-rw-r--r-- | src/nvim/os/fs.c | 1 | ||||
-rw-r--r-- | src/nvim/os_unix.c | 1 | ||||
-rw-r--r-- | src/nvim/path.c | 1 | ||||
-rw-r--r-- | src/nvim/quickfix.c | 1 | ||||
-rw-r--r-- | src/nvim/regexp.c | 1 | ||||
-rw-r--r-- | src/nvim/regexp_nfa.c | 2 | ||||
-rw-r--r-- | src/nvim/screen.c | 1 | ||||
-rw-r--r-- | src/nvim/strings.c | 1 | ||||
-rw-r--r-- | src/nvim/vim.h | 3 |
28 files changed, 29 insertions, 5 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 44f3d2ea63..5a8bc92d87 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -24,6 +24,7 @@ * The current implementation remembers all file names ever used. */ +#include <stdbool.h> #include <string.h> #include "nvim/api/private/handle.h" diff --git a/src/nvim/diff.c b/src/nvim/diff.c index 1cea6e759e..f861c8ca1c 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -2,6 +2,8 @@ /// /// Code for diff'ing two, three or four buffers. +#include <stdbool.h> + #include "nvim/vim.h" #include "nvim/diff.h" #include "nvim/buffer.h" diff --git a/src/nvim/edit.c b/src/nvim/edit.c index a70982150c..11b0c2bc8f 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -11,6 +11,7 @@ */ #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/edit.h" diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 05553088d9..0ce0cfb014 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -12,7 +12,9 @@ #include <string.h> #include <stdlib.h> +#include <stdbool.h> #include <math.h> + #include "nvim/vim.h" #include "nvim/eval.h" #include "nvim/buffer.h" diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 7a34aba6b9..c1f12071d8 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -11,6 +11,7 @@ */ #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/version_defs.h" diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index aa6e68dd4b..ba4da812bd 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -11,6 +11,7 @@ */ #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/ex_docmd.h" diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index 5122e61c82..ed17d2e3d4 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -9,6 +9,7 @@ /* * ex_eval.c: functions for Ex command line for the +eval feature. */ +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/ex_eval.h" diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 6694630337..8c9a7d6b5f 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -45,6 +45,7 @@ */ #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/file_search.h" diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index b87b606f98..aa2079ddc1 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -10,6 +10,7 @@ * fileio.c: read from and write to a file */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index b169899cea..41b8f56250 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -15,6 +15,7 @@ * mappings and abbreviations */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/globals.h b/src/nvim/globals.h index ceb0953d14..06d39494db 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -8,8 +8,6 @@ #ifndef NVIM_GLOBALS_H #define NVIM_GLOBALS_H -#include <stdbool.h> - #include "nvim/ex_eval.h" #include "nvim/mbyte.h" #include "nvim/menu.h" diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 94fbc15ede..aef104abf9 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -7,6 +7,7 @@ * * See README.txt for an overview of the Vim source code. */ +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/if_cscope.h" diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 78ff29c8e3..1878d78454 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -42,6 +42,7 @@ */ #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/memline.h" diff --git a/src/nvim/memory.c b/src/nvim/memory.c index 85c07a299e..eae30952b5 100644 --- a/src/nvim/memory.c +++ b/src/nvim/memory.c @@ -1,6 +1,7 @@ // Various routines dealing with allocation and deallocation of memory. #include <string.h> +#include <stdbool.h> #include "nvim/vim.h" #include "nvim/misc2.h" diff --git a/src/nvim/message.c b/src/nvim/message.c index 37a31ccf25..c6fe6ac72b 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -12,6 +12,7 @@ #define MESSAGE_FILE /* don't include prototype for smsg() */ +#include <stdbool.h> #include <string.h> #include <math.h> diff --git a/src/nvim/ops.c b/src/nvim/ops.c index e80ffac6e1..8fcad1ba0a 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -11,6 +11,7 @@ * op_change, op_yank, do_put, do_join */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/option.c b/src/nvim/option.c index dbc8350013..205d6e412f 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -31,6 +31,7 @@ */ #define IN_OPTION_C +#include <stdbool.h> #include <string.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/nvim/os/channel.c b/src/nvim/os/channel.c index 9bba247a7b..9c220da97f 100644 --- a/src/nvim/os/channel.c +++ b/src/nvim/os/channel.c @@ -1,3 +1,4 @@ +#include <stdbool.h> #include <string.h> #include <uv.h> diff --git a/src/nvim/os/dl.c b/src/nvim/os/dl.c index 980998eb40..e7a957a3aa 100644 --- a/src/nvim/os/dl.c +++ b/src/nvim/os/dl.c @@ -1,5 +1,6 @@ /// Functions for using external native libraries +#include <stdbool.h> #include <stdint.h> #include <uv.h> diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index 65b88c06f4..677fae801b 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -1,4 +1,5 @@ // fs.c -- filesystem access +#include <stdbool.h> #include "nvim/os/os.h" #include "nvim/memory.h" diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index e1b622081c..6c4a5cbb3b 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -25,6 +25,7 @@ */ # define select select_declared_wrong +#include <stdbool.h> #include <string.h> #include "nvim/api/private/handle.h" diff --git a/src/nvim/path.c b/src/nvim/path.c index 1231d16ed8..f18c217574 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1,3 +1,4 @@ +#include <stdbool.h> #include <stdlib.h> #include "nvim/vim.h" diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 3f61414f4b..87329a7e02 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -10,6 +10,7 @@ * quickfix.c: functions for quickfix mode, using a file with error messages */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 0ead83e0d4..1c165051b4 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -43,6 +43,7 @@ /* #undef REGEXP_DEBUG */ /* #define REGEXP_DEBUG */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c index 8781e06649..dd82b23cbd 100644 --- a/src/nvim/regexp_nfa.c +++ b/src/nvim/regexp_nfa.c @@ -4,6 +4,8 @@ * This file is included in "regexp.c". */ +#include <stdbool.h> + #include "nvim/misc2.h" #include "nvim/garray.h" diff --git a/src/nvim/screen.c b/src/nvim/screen.c index ed624643c8..afef26fdf0 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -86,6 +86,7 @@ * update_screen() called to redraw. */ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 45aec5841b..b6ba54857d 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -1,3 +1,4 @@ +#include <stdbool.h> #include <string.h> #include "nvim/vim.h" diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 66adab1f2d..f989a43dfb 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -11,9 +11,6 @@ #include "nvim/memory.h"// for xstrlcpy #include "nvim/types.h" -/* Included when ported to cmake */ -/* This is needed to replace TRUE/FALSE macros by true/false from c99 */ -#include <stdbool.h> /* Some defines from the old feature.h */ #define SESSION_FILE "Session.vim" #define MAX_MSG_HIST_LEN 200 |