From e288ddaee7d9c186c5829178691dbfac507d757d Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Sun, 6 Jul 2014 17:27:09 +0200 Subject: vim: move linenr_T and colnr_T to pos.h Try to cut down vim.h's size. It's keeping us from testing more things. --- src/nvim/ex_eval.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/ex_eval.h') diff --git a/src/nvim/ex_eval.h b/src/nvim/ex_eval.h index 7523aff792..3f5e295c18 100644 --- a/src/nvim/ex_eval.h +++ b/src/nvim/ex_eval.h @@ -1,6 +1,8 @@ #ifndef NVIM_EX_EVAL_H #define NVIM_EX_EVAL_H +#include "nvim/pos.h" // for linenr_T + /* * A list used for saving values of "emsg_silent". Used by ex_try() to save the * value of "emsg_silent" if it was non-zero. When this is done, the CSF_SILENT -- cgit From 7c6079f6f0d0fc59dd747c2ecd9e1e1ca1e0e66d Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Sat, 12 Jul 2014 20:13:56 +0200 Subject: vim: include used definitions in headers This is not an exhaustive commit, it merely ameliorates the situations a bit. There are quite a few header files that don't include all the types they use in their function/struct/... definitions. This throws of the testing infrastructure (but is not such a problem for the main binary that has the "tumbleweed of includes"-phenomenon). --- src/nvim/ex_eval.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/ex_eval.h') diff --git a/src/nvim/ex_eval.h b/src/nvim/ex_eval.h index 3f5e295c18..30871c7711 100644 --- a/src/nvim/ex_eval.h +++ b/src/nvim/ex_eval.h @@ -2,6 +2,7 @@ #define NVIM_EX_EVAL_H #include "nvim/pos.h" // for linenr_T +#include "nvim/ex_cmds_defs.h" // for exarg_T /* * A list used for saving values of "emsg_silent". Used by ex_try() to save the -- cgit