Mercurial > vim
diff src/structs.h @ 1869:720a59d79bcd
updated for version 7.2-168
author | vimboss |
---|---|
date | Wed, 13 May 2009 10:51:08 +0000 |
parents | feb9b4215853 |
children | f13849167330 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -33,9 +33,9 @@ typedef struct } pos_T; #ifdef FEAT_VIRTUALEDIT -# define INIT_POS_T {0, 0, 0} +# define INIT_POS_T(l, c, ca) {l, c, ca} #else -# define INIT_POS_T {0, 0} +# define INIT_POS_T(l, c, ca) {l, c} #endif /* @@ -1166,7 +1166,7 @@ struct file_buffer char_u *b_fname; /* current file name */ #ifdef UNIX - int b_dev; /* device number (-1 if not set) */ + dev_t b_dev; /* device number (-1 if not set) */ ino_t b_ino; /* inode number */ #endif #ifdef FEAT_CW_EDITOR @@ -1645,7 +1645,11 @@ struct tabpage_S #endif #ifdef FEAT_DIFF diff_T *tp_first_diff; +# ifdef S_SPLINT_S /* splint doesn't understand the array of pointers */ + buf_T **tp_diffbuf; +# else buf_T *(tp_diffbuf[DB_COUNT]); +# endif int tp_diff_invalid; /* list of diffs is outdated */ #endif frame_T *tp_snapshot; /* window layout snapshot */