mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:8.1.1891: functions used in one file are global
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes vim/vim#4840)
5843f5f37b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -335,7 +335,7 @@ int get_sw_value(buf_T *buf)
|
||||
}
|
||||
|
||||
/// Idem, using "pos".
|
||||
int get_sw_value_pos(buf_T *buf, pos_T *pos, bool left)
|
||||
static int get_sw_value_pos(buf_T *buf, pos_T *pos, bool left)
|
||||
{
|
||||
pos_T save_cursor = curwin->w_cursor;
|
||||
|
||||
|
Reference in New Issue
Block a user