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:
@@ -61,7 +61,6 @@ static char_u *get_user_command_name(int idx);
|
||||
# define IS_USER_CMDIDX(idx) (FALSE)
|
||||
#endif
|
||||
|
||||
static int compute_buffer_local_count(int addr_type, int lnum, int local);
|
||||
#ifdef FEAT_EVAL
|
||||
static char_u *do_one_cmd(char_u **, int, struct condstack *, char_u *(*fgetline)(int, void *, int), void *cookie);
|
||||
#else
|
||||
@@ -116,7 +115,6 @@ static int getargopt(exarg_T *eap);
|
||||
# define ex_cexpr ex_ni
|
||||
#endif
|
||||
|
||||
static int check_more(int, int);
|
||||
static linenr_T get_address(exarg_T *, char_u **, int addr_type, int skip, int silent, int to_other_file, int address_count);
|
||||
static void get_flags(exarg_T *eap);
|
||||
#if !defined(FEAT_PERL) \
|
||||
@@ -498,9 +496,6 @@ struct dbg_stuff
|
||||
except_T *current_exception;
|
||||
};
|
||||
|
||||
static void save_dbg_stuff(struct dbg_stuff *dsp);
|
||||
static void restore_dbg_stuff(struct dbg_stuff *dsp);
|
||||
|
||||
static void
|
||||
save_dbg_stuff(struct dbg_stuff *dsp)
|
||||
{
|
||||
@@ -1633,9 +1628,6 @@ compute_buffer_local_count(int addr_type, int lnum, int offset)
|
||||
return buf->b_fnum;
|
||||
}
|
||||
|
||||
static int current_win_nr(win_T *win);
|
||||
static int current_tab_nr(tabpage_T *tab);
|
||||
|
||||
static int
|
||||
current_win_nr(win_T *win)
|
||||
{
|
||||
@@ -4910,8 +4902,6 @@ correct_range(exarg_T *eap)
|
||||
}
|
||||
|
||||
#ifdef FEAT_QUICKFIX
|
||||
static char_u *skip_grep_pat(exarg_T *eap);
|
||||
|
||||
/*
|
||||
* For a ":vimgrep" or ":vimgrepadd" command return a pointer past the
|
||||
* pattern. Otherwise return eap->arg.
|
||||
@@ -5818,12 +5808,6 @@ get_command_name(expand_T *xp UNUSED, int idx)
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_USR_CMDS) || defined(PROTO)
|
||||
static int uc_add_command(char_u *name, size_t name_len, char_u *rep, long argt, long def, int flags, int compl, char_u *compl_arg, int addr_type, int force);
|
||||
static void uc_list(char_u *name, size_t name_len);
|
||||
static int uc_scan_attr(char_u *attr, size_t len, long *argt, long *def, int *flags, int *compl, char_u **compl_arg, int* attr_type_arg);
|
||||
static char_u *uc_split_args(char_u *arg, size_t *lenp);
|
||||
static size_t uc_check_code(char_u *code, size_t len, char_u *buf, ucmd_T *cmd, exarg_T *eap, char_u **split_buf, size_t *split_len);
|
||||
|
||||
static int
|
||||
uc_add_command(
|
||||
char_u *name,
|
||||
|
Reference in New Issue
Block a user