summaryrefslogtreecommitdiffstats
path: root/src/proto/buffer.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-10-03 18:25:00 +0200
committerBram Moolenaar <Bram@vim.org>2012-10-03 18:25:00 +0200
commite1704bada4554f4edc95ac6be50144dd7b95332b (patch)
treea9e9a1fd34a6ed5ba126b8dfc4ecd45dfedff394 /src/proto/buffer.pro
parentb213da0b5742c6615837436ef4f75a416a534f06 (diff)
updated for version 7.3.677v7.3.677
Problem: buf_spname() is used inconsistently. Solution: Make the return type a char_u pointer. Check the size of the returned string.
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r--src/proto/buffer.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro
index 411c5af57e..85aeddaef5 100644
--- a/src/proto/buffer.pro
+++ b/src/proto/buffer.pro
@@ -51,7 +51,7 @@ void ex_buffer_all __ARGS((exarg_T *eap));
void do_modelines __ARGS((int flags));
int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing));
void write_viminfo_bufferlist __ARGS((FILE *fp));
-char *buf_spname __ARGS((buf_T *buf));
+char_u *buf_spname __ARGS((buf_T *buf));
void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr));
linenr_T buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr));
int buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type));