1
0
forked from aniani/vim

patch 8.1.2021: some global functions can be local to the file

Problem:    Some global functions can be local to the file.
Solution:   Add "static". (Yegappan Lakshmanan, closes #4917)
This commit is contained in:
Bram Moolenaar
2019-09-10 21:27:18 +02:00
parent d20dcb3d01
commit 840d16fd36
18 changed files with 17 additions and 26 deletions

View File

@@ -144,6 +144,7 @@ static int utf_ptr2cells_len(char_u *p, int size);
static int dbcs_char2cells(int c);
static int dbcs_ptr2cells_len(char_u *p, int size);
static int dbcs_ptr2char(char_u *p);
static int dbcs_head_off(char_u *base, char_u *p);
/*
* Lookup table to quickly get the length in bytes of a UTF-8 character from
@@ -3778,7 +3779,7 @@ latin_head_off(char_u *base UNUSED, char_u *p UNUSED)
return 0;
}
int
static int
dbcs_head_off(char_u *base, char_u *p)
{
char_u *q;