diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-30 16:01:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-30 16:01:37 +0200 |
commit | 6773b2ba7e716cfa89a71b8a3a1ed98ffb186646 (patch) | |
tree | 5e17c3091dc97ada4a49dcecc148edbad34b84f0 /src/structs.h | |
parent | 644fdff7c1a80b3cf9a52f422df7f7ed2a084072 (diff) | |
download | vim-git-6773b2ba7e716cfa89a71b8a3a1ed98ffb186646.tar.gz |
A bit of cleanup and simplification for undofile.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/structs.h b/src/structs.h index a7632b851..2ec02f3db 100644 --- a/src/structs.h +++ b/src/structs.h @@ -342,18 +342,6 @@ struct m_info }; /* - * structure used to link blocks in the list of allocated blocks. - */ -typedef struct m_block mblock_T; -struct m_block -{ - mblock_T *mb_next; /* pointer to next allocated block */ - size_t mb_size; /* total size of all chunks in this block */ - size_t mb_maxsize; /* size of largest fee chunk */ - minfo_T mb_info; /* head of free chunk list for this block */ -}; - -/* * things used in memfile.c */ @@ -1286,14 +1274,6 @@ struct file_buffer linenr_T b_u_line_lnum; /* line number of line in u_line */ colnr_T b_u_line_colnr; /* optional column number */ - /* - * The following only used in undo.c - */ - mblock_T b_block_head; /* head of allocated memory block list */ - minfo_T *b_m_search; /* pointer to chunk before previously - allocated/freed chunk */ - mblock_T *b_mb_current; /* block where m_search points in */ - #ifdef FEAT_INS_EXPAND int b_scanned; /* ^N/^P have scanned this buffer */ #endif |