diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-18 13:39:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 13:39:22 -0400 |
commit | eaee3d9297d114c81b05dd4ed104373eeb87bc11 (patch) | |
tree | 8ae0373b3176bb2535c2da4daabc118c0520b1b9 /src/nvim/option.c | |
parent | 9817d991403ea3646b9a01234d12c7661ff8c62b (diff) | |
parent | ce99d049e787e96eaf6268907262240321dae881 (diff) | |
download | rneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.tar.gz rneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.tar.bz2 rneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.zip |
Merge pull request #13111 from janlazo/vim-8.2.0862
vim-patch:8.2.{862,943,1547}
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index f9b76750ba..484d9da3a1 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -7270,7 +7270,8 @@ unsigned int get_bkc_value(buf_T *buf) } /// Return the current end-of-line type: EOL_DOS, EOL_UNIX or EOL_MAC. -int get_fileformat(buf_T *buf) +int get_fileformat(const buf_T *buf) + FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL { int c = *buf->b_p_ff; |