diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-13 08:59:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 08:59:11 +0800 |
commit | 6f14c5d2ddbefea51920762769eec217d19a9ed9 (patch) | |
tree | a599db91592f2118dff8db9d15908ccff36003d8 /src/nvim/undo.c | |
parent | e23c5fda0a3fe385af615372c474d4dad3b74464 (diff) | |
download | rneovim-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/undo.c')
-rw-r--r-- | src/nvim/undo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index ab3fda95dc..1874958964 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -113,6 +113,12 @@ #include "nvim/types.h" #include "nvim/undo.h" +/// Structure passed around between undofile functions. +typedef struct { + buf_T *bi_buf; + FILE *bi_fp; +} bufinfo_T; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "undo.c.generated.h" #endif |