move assert.h include out of vim.h

This commit is contained in:
Brandon Coleman 2014-06-23 00:40:35 -05:00 committed by Nicolas Hillegeer
parent 8cc8164e52
commit e69cfa6c15
18 changed files with 19 additions and 2 deletions

View File

@ -88,6 +88,7 @@ output = io.open(outputf, 'wb')
output:write([[
#include <stdbool.h>
#include <stdint.h>
#include <assert.h>
#include <msgpack.h>
#include "nvim/os/msgpack_rpc.h"

View File

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

View File

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

View File

@ -1,3 +1,4 @@
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>

View File

@ -2,6 +2,7 @@
///
/// Code related to character sets.
#include <assert.h>
#include <string.h>
#include <wctype.h>
#include <wchar.h> // for towupper() and towlower()

View File

@ -10,9 +10,10 @@
* edit.c: functions for Insert mode
*/
#include <assert.h>
#include <string.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
#include "nvim/vim.h"
#include "nvim/ascii.h"

View File

@ -18,6 +18,7 @@
/// of the entries is empty to keep the lookup efficient (at the cost of extra
/// memory).
#include <assert.h>
#include <stdbool.h>
#include <string.h>
#include <inttypes.h>

View File

@ -9,6 +9,7 @@
*/
#include <stdbool.h>
#include <assert.h>
#include <inttypes.h>
#include "nvim/vim.h"

View File

@ -10,6 +10,7 @@
* mark.c: functions for setting marks and jumping to them
*/
#include <assert.h>
#include <inttypes.h>
#include <string.h>

View File

@ -1,3 +1,4 @@
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>

View File

@ -1,6 +1,8 @@
// fs.c -- filesystem access
#include <stdbool.h>
#include <assert.h>
#include "nvim/os/os.h"
#include "nvim/ascii.h"
#include "nvim/memory.h"

View File

@ -1,3 +1,4 @@
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>

View File

@ -1,3 +1,4 @@
#include <assert.h>
#include <uv.h>
#include "nvim/os/uv_helpers.h"

View File

@ -1,3 +1,4 @@
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>

View File

@ -1,4 +1,5 @@
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>

View File

@ -10,6 +10,7 @@
* syntax.c: code for syntax highlighting
*/
#include <assert.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>

View File

@ -94,7 +94,6 @@ typedef uint32_t u8char_T;
#include <errno.h>
#include <assert.h>
#include <stdarg.h>

View File

@ -6,6 +6,7 @@
* See README.txt for an overview of the Vim source code.
*/
#include <assert.h>
#include <inttypes.h>
#include "nvim/api/private/handle.h"