aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-12 19:16:24 +0800
committerGitHub <noreply@github.com>2022-08-12 19:16:24 +0800
commitf79773a3b4b3ce5a3b37652a72b12089880f32a4 (patch)
treef86eb1b3bf90d13844a7b2c43065e380ffd1bb13 /src/nvim/ex_docmd.c
parent1cf3a4b4095913ff9a241c07294af74e573eed54 (diff)
downloadrneovim-f79773a3b4b3ce5a3b37652a72b12089880f32a4.tar.gz
rneovim-f79773a3b4b3ce5a3b37652a72b12089880f32a4.tar.bz2
rneovim-f79773a3b4b3ce5a3b37652a72b12089880f32a4.zip
refactor: move non-symbols in ex_eval.h to ex_eval_defs.h (#19739)
This avoids including ex_eval.h in any other header, thus preventing future circular includes.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index e482c9e9cf..f4a0f462e2 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -321,8 +321,8 @@ int do_cmdline(char *cmdline, LineGetter fgetline, void *cookie, int flags)
int *dbg_tick = NULL; // ptr to dbg_tick field in cookie
struct dbg_stuff debug_saved; // saved things for debug mode
int initial_trylevel;
- struct msglist **saved_msg_list = NULL;
- struct msglist *private_msg_list;
+ msglist_T **saved_msg_list = NULL;
+ msglist_T *private_msg_list;
// "fgetline" and "cookie" passed to do_one_cmd()
char *(*cmd_getline)(int, void *, int, bool);
@@ -802,8 +802,8 @@ int do_cmdline(char *cmdline, LineGetter fgetline, void *cookie, int flags)
char *p = NULL;
char *saved_sourcing_name;
linenr_T saved_sourcing_lnum;
- struct msglist *messages = NULL;
- struct msglist *next;
+ msglist_T *messages = NULL;
+ msglist_T *next;
/*
* If the uncaught exception is a user exception, report it as an