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
This commit is contained in:
zeertzjq
2022-08-13 08:59:11 +08:00
committed by GitHub
parent e23c5fda0a
commit 6f14c5d2dd
23 changed files with 22 additions and 21 deletions

View File

@@ -74,10 +74,4 @@ struct u_header {
#define UH_EMPTYBUF 0x02 // buffer was empty
#define UH_RELOAD 0x04 // buffer was reloaded
/// Structure passed around between undofile functions.
typedef struct {
buf_T *bi_buf;
FILE *bi_fp;
} bufinfo_T;
#endif // NVIM_UNDO_DEFS_H