refactor/single-include (#6586)

This commit is contained in:
relnod
2017-04-25 20:45:59 +02:00
committed by Justin M. Keyes
parent a0acb2e195
commit 22932d8ac2
4 changed files with 9 additions and 4 deletions

View File

@@ -432,13 +432,9 @@ set(NO_SINGLE_CHECK_HEADERS
if_cscope_defs.h if_cscope_defs.h
misc2.h misc2.h
msgpack_rpc/server.h msgpack_rpc/server.h
option.h
os/shell.h os/shell.h
os_unix.h os_unix.h
os/win_defs.h os/win_defs.h
popupmnu.h
quickfix.h
regexp.h
regexp_defs.h regexp_defs.h
sha256.h sha256.h
sign_defs.h sign_defs.h

View File

@@ -1,6 +1,8 @@
#ifndef NVIM_POPUPMNU_H #ifndef NVIM_POPUPMNU_H
#define NVIM_POPUPMNU_H #define NVIM_POPUPMNU_H
#include "nvim/types.h"
/// Used for popup menu items. /// Used for popup menu items.
typedef struct { typedef struct {
char_u *pum_text; // main menu text char_u *pum_text; // main menu text

View File

@@ -1,6 +1,9 @@
#ifndef NVIM_QUICKFIX_H #ifndef NVIM_QUICKFIX_H
#define NVIM_QUICKFIX_H #define NVIM_QUICKFIX_H
#include "nvim/types.h"
#include "nvim/ex_cmds_defs.h"
/* flags for skip_vimgrep_pat() */ /* flags for skip_vimgrep_pat() */
#define VGR_GLOBAL 1 #define VGR_GLOBAL 1
#define VGR_NOJUMP 2 #define VGR_NOJUMP 2

View File

@@ -1,6 +1,10 @@
#ifndef NVIM_REGEXP_H #ifndef NVIM_REGEXP_H
#define NVIM_REGEXP_H #define NVIM_REGEXP_H
#include "nvim/types.h"
#include "nvim/buffer_defs.h"
#include "nvim/regexp_defs.h"
/* Second argument for vim_regcomp(). */ /* Second argument for vim_regcomp(). */
#define RE_MAGIC 1 /* 'magic' option */ #define RE_MAGIC 1 /* 'magic' option */
#define RE_STRING 2 /* match in string instead of buffer text */ #define RE_STRING 2 /* match in string instead of buffer text */