remove stdbool.h include from vim.h and globals.h

This commit is contained in:
Brandon Coleman 2014-06-17 00:14:21 -05:00 committed by Nicolas Hillegeer
parent e3db636546
commit a4f441e547
28 changed files with 29 additions and 5 deletions

View File

@ -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"

View File

@ -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"

View File

@ -11,6 +11,7 @@
*/
#include <string.h>
#include <stdbool.h>
#include "nvim/vim.h"
#include "nvim/edit.h"

View File

@ -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"

View File

@ -11,6 +11,7 @@
*/
#include <string.h>
#include <stdbool.h>
#include "nvim/vim.h"
#include "nvim/version_defs.h"

View File

@ -11,6 +11,7 @@
*/
#include <string.h>
#include <stdbool.h>
#include "nvim/vim.h"
#include "nvim/ex_docmd.h"

View File

@ -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"

View File

@ -45,6 +45,7 @@
*/
#include <string.h>
#include <stdbool.h>
#include "nvim/vim.h"
#include "nvim/file_search.h"

View File

@ -10,6 +10,7 @@
* fileio.c: read from and write to a file
*/
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -15,6 +15,7 @@
* mappings and abbreviations
*/
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -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"

View File

@ -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"

View File

@ -42,6 +42,7 @@
*/
#include <string.h>
#include <stdbool.h>
#include "nvim/vim.h"
#include "nvim/memline.h"

View File

@ -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"

View File

@ -12,6 +12,7 @@
#define MESSAGE_FILE /* don't include prototype for smsg() */
#include <stdbool.h>
#include <string.h>
#include <math.h>

View File

@ -11,6 +11,7 @@
* op_change, op_yank, do_put, do_join
*/
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -31,6 +31,7 @@
*/
#define IN_OPTION_C
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>

View File

@ -1,3 +1,4 @@
#include <stdbool.h>
#include <string.h>
#include <uv.h>

View File

@ -1,5 +1,6 @@
/// Functions for using external native libraries
#include <stdbool.h>
#include <stdint.h>
#include <uv.h>

View File

@ -1,4 +1,5 @@
// fs.c -- filesystem access
#include <stdbool.h>
#include "nvim/os/os.h"
#include "nvim/memory.h"

View File

@ -25,6 +25,7 @@
*/
# define select select_declared_wrong
#include <stdbool.h>
#include <string.h>
#include "nvim/api/private/handle.h"

View File

@ -1,3 +1,4 @@
#include <stdbool.h>
#include <stdlib.h>
#include "nvim/vim.h"

View File

@ -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"

View File

@ -43,6 +43,7 @@
/* #undef REGEXP_DEBUG */
/* #define REGEXP_DEBUG */
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -4,6 +4,8 @@
* This file is included in "regexp.c".
*/
#include <stdbool.h>
#include "nvim/misc2.h"
#include "nvim/garray.h"

View File

@ -86,6 +86,7 @@
* update_screen() called to redraw.
*/
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -1,3 +1,4 @@
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"

View File

@ -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