forked from aniani/vim
patch 8.1.0443: unnecessary static function prototypes
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
This commit is contained in:
14
src/option.c
14
src/option.c
@@ -3281,15 +3281,10 @@ static char *(p_cot_values[]) = {"menu", "menuone", "longest", "preview", "noins
|
||||
static char *(p_scl_values[]) = {"yes", "no", "auto", NULL};
|
||||
#endif
|
||||
|
||||
static void set_option_default(int, int opt_flags, int compatible);
|
||||
static void set_options_default(int opt_flags);
|
||||
static void set_string_default_esc(char *name, char_u *val, int escape);
|
||||
static char_u *term_bg_default(void);
|
||||
static void did_set_option(int opt_idx, int opt_flags, int new_value);
|
||||
static char_u *illegal_char(char_u *, int);
|
||||
#ifdef FEAT_CMDWIN
|
||||
static char_u *check_cedit(void);
|
||||
#endif
|
||||
static char_u *option_expand(int opt_idx, char_u *val);
|
||||
static void didset_options(void);
|
||||
static void didset_options2(void);
|
||||
@@ -3300,12 +3295,8 @@ static long_u *insecure_flag(int opt_idx, int opt_flags);
|
||||
# define insecure_flag(opt_idx, opt_flags) (&options[opt_idx].flags)
|
||||
#endif
|
||||
static void set_string_option_global(int opt_idx, char_u **varp);
|
||||
static char_u *set_string_option(int opt_idx, char_u *value, int opt_flags);
|
||||
static char_u *did_set_string_option(int opt_idx, char_u **varp, int new_value_alloced, char_u *oldval, char_u *errbuf, int opt_flags);
|
||||
static char_u *set_chars_option(char_u **varp);
|
||||
#ifdef FEAT_SYN_HL
|
||||
static int int_cmp(const void *a, const void *b);
|
||||
#endif
|
||||
#ifdef FEAT_CLIPBOARD
|
||||
static char_u *check_clipboard_option(void);
|
||||
#endif
|
||||
@@ -4279,8 +4270,6 @@ set_helplang_default(char_u *lang)
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_GUI
|
||||
static char_u *gui_bg_default(void);
|
||||
|
||||
static char_u *
|
||||
gui_bg_default(void)
|
||||
{
|
||||
@@ -5875,8 +5864,6 @@ insecure_flag(int opt_idx, int opt_flags)
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_TITLE
|
||||
static void redraw_titles(void);
|
||||
|
||||
/*
|
||||
* Redraw the window title and/or tab page text later.
|
||||
*/
|
||||
@@ -12027,7 +12014,6 @@ typedef struct
|
||||
} langmap_entry_T;
|
||||
|
||||
static garray_T langmap_mapga;
|
||||
static void langmap_set_entry(int from, int to);
|
||||
|
||||
/*
|
||||
* Search for an entry in "langmap_mapga" for "from". If found set the "to"
|
||||
|
Reference in New Issue
Block a user