diff options
author | relnod <mail@paul-schiffers.de> | 2017-07-15 16:50:22 +0200 |
---|---|---|
committer | relnod <mail@paul-schiffers.de> | 2017-10-19 11:17:18 +0200 |
commit | 14e63271cc216ef60036891f7f79d8509c8f52c1 (patch) | |
tree | d8d474776fc5cef0b9515d826f1e622cc1045d96 /src | |
parent | 4b0a086d165013ff5726b987b353d88a863491a9 (diff) | |
download | rneovim-14e63271cc216ef60036891f7f79d8509c8f52c1.tar.gz rneovim-14e63271cc216ef60036891f7f79d8509c8f52c1.tar.bz2 rneovim-14e63271cc216ef60036891f7f79d8509c8f52c1.zip |
refactor/single-include: undo_defs.h
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/nvim/undo_defs.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 2cc236101c..09d50f0f00 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -542,7 +542,6 @@ set(NO_SINGLE_CHECK_HEADERS os/win_defs.h os/pty_process_win.h undo.h - undo_defs.h ) foreach(hfile ${NVIM_HEADERS}) get_test_target(test-includes "${hfile}" relative_path texe) diff --git a/src/nvim/undo_defs.h b/src/nvim/undo_defs.h index d841210815..6c7e2bba41 100644 --- a/src/nvim/undo_defs.h +++ b/src/nvim/undo_defs.h @@ -4,9 +4,10 @@ #include <time.h> // for time_t #include "nvim/pos.h" -#include "nvim/buffer_defs.h" #include "nvim/mark_defs.h" +typedef struct u_header u_header_T; + /* Structure to store info about the Visual area. */ typedef struct { pos_T vi_start; /* start pos of last VIsual */ @@ -15,8 +16,9 @@ typedef struct { colnr_T vi_curswant; /* MAXCOL from w_curswant */ } visualinfo_T; +#include "nvim/buffer_defs.h" + typedef struct u_entry u_entry_T; -typedef struct u_header u_header_T; struct u_entry { u_entry_T *ue_next; /* pointer to next entry in list */ linenr_T ue_top; /* number of line above undo block */ |