mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3320: some local functions are not static
Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
This commit is contained in:
committed by
Bram Moolenaar
parent
eed9616120
commit
8ee52affe7
@@ -2029,7 +2029,7 @@ registerdigraph(int char1, int char2, int n)
|
||||
* If they are valid, returns TRUE; otherwise, give an error message and
|
||||
* returns FALSE.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
check_digraph_chars_valid(int char1, int char2)
|
||||
{
|
||||
if (char2 == 0)
|
||||
@@ -2193,7 +2193,7 @@ digraph_getlist_appendpair(digr_T *dp, list_T *l)
|
||||
li2->li_tv.vval.v_string = vim_strsave(buf);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
digraph_getlist_common(int list_all, typval_T *rettv)
|
||||
{
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user