patch 9.1.1781: some functions could be defined static
Problem: some functions could be defined static
Solution: Change function definitions and make them static
(Yegappan Lakshmanan)
closes: #18354
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7b973492ae
commit
3a6cf6d53b
@ -60,6 +60,7 @@ static int put_setstring(FILE *fd, char *cmd, char *name, char_u **valuep, long_
|
||||
static int put_setnum(FILE *fd, char *cmd, char *name, long *valuep);
|
||||
static int put_setbool(FILE *fd, char *cmd, char *name, int value);
|
||||
static int istermoption(struct vimoption *p);
|
||||
static int istermoption_idx(int opt_idx);
|
||||
static char_u *get_varp_scope(struct vimoption *p, int scope);
|
||||
static char_u *get_varp(struct vimoption *);
|
||||
static void check_win_options(win_T *win);
|
||||
@ -6410,7 +6411,7 @@ istermoption(struct vimoption *p)
|
||||
/*
|
||||
* Returns TRUE if the option at 'opt_idx' starts with 't_'
|
||||
*/
|
||||
int
|
||||
static int
|
||||
istermoption_idx(int opt_idx)
|
||||
{
|
||||
return istermoption(&options[opt_idx]);
|
||||
|
||||
Reference in New Issue
Block a user