aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-13 08:59:11 +0800
committerGitHub <noreply@github.com>2022-08-13 08:59:11 +0800
commit6f14c5d2ddbefea51920762769eec217d19a9ed9 (patch)
treea599db91592f2118dff8db9d15908ccff36003d8 /src/nvim/memory.c
parente23c5fda0a3fe385af615372c474d4dad3b74464 (diff)
downloadrneovim-6f14c5d2ddbefea51920762769eec217d19a9ed9.tar.gz
rneovim-6f14c5d2ddbefea51920762769eec217d19a9ed9.tar.bz2
rneovim-6f14c5d2ddbefea51920762769eec217d19a9ed9.zip
refactor: remove some unused includes (#19747)
- Remove autocmd.h from fileio.h - Remove normal.h from main.h - Move bufinfo_T from undo_defs.h to undo.c
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 4d00c0212e..2d473aa66b 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -617,6 +617,7 @@ char *arena_memdupz(Arena *arena, const char *buf, size_t size)
#if defined(EXITFREE)
+# include "nvim/autocmd.h"
# include "nvim/buffer.h"
# include "nvim/charset.h"
# include "nvim/cmdhist.h"
@@ -627,7 +628,6 @@ char *arena_memdupz(Arena *arena, const char *buf, size_t size)
# include "nvim/ex_docmd.h"
# include "nvim/ex_getln.h"
# include "nvim/file_search.h"
-# include "nvim/fileio.h"
# include "nvim/fold.h"
# include "nvim/getchar.h"
# include "nvim/mark.h"