mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
remove stdbool.h include from vim.h and globals.h
This commit is contained in:
parent
e3db636546
commit
a4f441e547
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/edit.h"
|
||||
|
@ -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"
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/version_defs.h"
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ex_docmd.h"
|
||||
|
@ -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"
|
||||
|
@ -45,6 +45,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/file_search.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
* fileio.c: read from and write to a file
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
* mappings and abbreviations
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/vim.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"
|
||||
|
@ -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"
|
||||
|
@ -42,6 +42,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/memline.h"
|
||||
|
@ -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"
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#define MESSAGE_FILE /* don't include prototype for smsg() */
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
* op_change, op_yank, do_put, do_join
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#define IN_OPTION_C
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <uv.h>
|
||||
|
@ -1,5 +1,6 @@
|
||||
/// Functions for using external native libraries
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <uv.h>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// fs.c -- filesystem access
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/memory.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
*/
|
||||
# define select select_declared_wrong
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/api/private/handle.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
|
@ -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"
|
||||
|
@ -43,6 +43,7 @@
|
||||
/* #undef REGEXP_DEBUG */
|
||||
/* #define REGEXP_DEBUG */
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
|
@ -4,6 +4,8 @@
|
||||
* This file is included in "regexp.c".
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/misc2.h"
|
||||
#include "nvim/garray.h"
|
||||
|
||||
|
@ -86,6 +86,7 @@
|
||||
* update_screen() called to redraw.
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "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
|
||||
|
Loading…
Reference in New Issue
Block a user