Mercurial > vim
diff src/eval.c @ 14862:27b9a84395b5 v8.1.0443
patch 8.1.0443: unnecessary static function prototypes
commit https://github.com/vim/vim/commit/6dff58f15cede9139b2fcfc64c9064326ea3d3b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 30 21:43:26 2018 +0200
patch 8.1.0443: unnecessary static function prototypes
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Sep 2018 21:45:07 +0200 |
parents | 0a3b9ecf7cb8 |
children | 0c845463a0db |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -232,7 +232,6 @@ static int eval5(char_u **arg, typval_T static int eval6(char_u **arg, typval_T *rettv, int evaluate, int want_string); static int eval7(char_u **arg, typval_T *rettv, int evaluate, int want_string); -static int eval_index(char_u **arg, typval_T *rettv, int evaluate, int verbose); static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate); static int get_lit_string_tv(char_u **arg, typval_T *rettv, int evaluate); static int free_unref_items(int copyID); @@ -3050,8 +3049,6 @@ del_menutrans_vars(void) * get_user_var_name(). */ -static char_u *cat_prefix_varname(int prefix, char_u *name); - static char_u *varnamebuf = NULL; static int varnamebuflen = 0; @@ -7957,6 +7954,7 @@ get_user_input( if (defstr != NULL) { int save_ex_normal_busy = ex_normal_busy; + ex_normal_busy = 0; rettv->vval.v_string = getcmdline_prompt(secret ? NUL : '@', p, echo_attr, @@ -8507,8 +8505,6 @@ typedef enum VAR_FLAVOUR_VIMINFO /* all uppercase */ } var_flavour_T; -static var_flavour_T var_flavour(char_u *varname); - static var_flavour_T var_flavour(char_u *varname) { @@ -9431,9 +9427,6 @@ var_exists(char_u *var) /* * Functions for ":8" filename modifier: get 8.3 version of a filename. */ -static int get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen); -static int shortpath_for_invalid_fname(char_u **fname, char_u **bufp, int *fnamelen); -static int shortpath_for_partial(char_u **fnamep, char_u **bufp, int *fnamelen); /* * Get the short path (8.3) for the filename in "fnamep".