diff options
Diffstat (limited to 'src/nvim/memfile_defs.h')
-rw-r--r-- | src/nvim/memfile_defs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/memfile_defs.h b/src/nvim/memfile_defs.h index db68ecf039..5caf13c9fb 100644 --- a/src/nvim/memfile_defs.h +++ b/src/nvim/memfile_defs.h @@ -5,8 +5,6 @@ #include <stdlib.h> #include "nvim/map_defs.h" -#include "nvim/pos_defs.h" -#include "nvim/types_defs.h" /// A block number. /// @@ -26,7 +24,7 @@ typedef int64_t blocknr_T; /// The free list is a single linked list, not sorted. /// The blocks in the free list have no block of memory allocated and /// the contents of the block in the file (if any) is irrelevant. -typedef struct bhdr { +typedef struct { blocknr_T bh_bnum; ///< key used in hash table void *bh_data; ///< pointer to memory (for used block) @@ -44,7 +42,7 @@ typedef enum { } mfdirty_T; /// A memory file. -typedef struct memfile { +typedef struct { char *mf_fname; ///< name of the file char *mf_ffname; ///< idem, full path int mf_fd; ///< file descriptor |