aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-10-20 11:07:06 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-06 22:53:41 +0100
commita69b2e3c4013644142678d807ff9696338418abf (patch)
tree9869ba9a3909b4661a09c5282feda9c817e4cb04 /src/nvim/buffer_defs.h
parent8fb4097fc6063178c458809ca88db0ab7df26536 (diff)
downloadrneovim-a69b2e3c4013644142678d807ff9696338418abf.tar.gz
rneovim-a69b2e3c4013644142678d807ff9696338418abf.tar.bz2
rneovim-a69b2e3c4013644142678d807ff9696338418abf.zip
Review: Remove long_u: memfile: Cleanup: Others.
memfile_defs.h: - Inline struct definitions in typedefs. - Move memfile_T definition to this file (weirdly, was in buffer_defs.h). memfile.c: - Use C99 style variable declarations. This is, move variable declarations as near to first-usage point as possible). - Modernize old-style function declarations. - Fix indent at some places (some multiline expressions and the like).
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 4ea288c258..094d6dfd05 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -78,7 +78,6 @@ typedef struct wininfo_S wininfo_T;
typedef struct frame_S frame_T;
typedef int scid_T; /* script ID */
typedef struct file_buffer buf_T; /* forward declaration */
-typedef struct memfile memfile_T;
// for struct memline (it needs memfile_T)
#include "nvim/memline_defs.h"