diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-10-03 18:25:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-10-03 18:25:00 +0200 |
commit | e1704bada4554f4edc95ac6be50144dd7b95332b (patch) | |
tree | a9e9a1fd34a6ed5ba126b8dfc4ecd45dfedff394 /src/proto/buffer.pro | |
parent | b213da0b5742c6615837436ef4f75a416a534f06 (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.pro | 2 |
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)); |