@@ -1121,8 +1121,6 @@ get_tv_lnum(typval_T *argvars)
11211121}
11221122
11231123#ifdef FEAT_FLOAT
1124- static int get_float_arg (typval_T * argvars , float_T * f );
1125-
11261124/*
11271125 * Get the float value of "argvars[0]" into "f".
11281126 * Returns FAIL when the argument is not a Number or Float.
@@ -1722,8 +1720,6 @@ f_browsedir(typval_T *argvars UNUSED, typval_T *rettv)
17221720 rettv -> v_type = VAR_STRING ;
17231721}
17241722
1725- static buf_T * find_buffer (typval_T * avar );
1726-
17271723/*
17281724 * Find a buffer by number or exact name.
17291725 */
@@ -3826,8 +3822,6 @@ f_fnamemodify(typval_T *argvars, typval_T *rettv)
38263822 vim_free (fbuf );
38273823}
38283824
3829- static void foldclosed_both (typval_T * argvars , typval_T * rettv , int end );
3830-
38313825/*
38323826 * "foldclosed()" function
38333827 */
@@ -4485,8 +4479,6 @@ f_getbufinfo(typval_T *argvars, typval_T *rettv)
44854479 }
44864480}
44874481
4488- static void get_buffer_lines (buf_T * buf , linenr_T start , linenr_T end , int retlist , typval_T * rettv );
4489-
44904482/*
44914483 * Get line or list of lines from buffer "buf" into "rettv".
44924484 * Return a range (from start to end) of lines in rettv from the specified
@@ -7589,8 +7581,6 @@ f_localtime(typval_T *argvars UNUSED, typval_T *rettv)
75897581 rettv -> vval .v_number = (varnumber_T )time (NULL );
75907582}
75917583
7592- static void get_maparg (typval_T * argvars , typval_T * rettv , int exact );
7593-
75947584 static void
75957585get_maparg (typval_T * argvars , typval_T * rettv , int exact )
75967586{
@@ -8200,8 +8190,6 @@ f_matchstrpos(typval_T *argvars, typval_T *rettv)
82008190 find_some_match (argvars , rettv , MATCH_POS );
82018191}
82028192
8203- static void max_min (typval_T * argvars , typval_T * rettv , int domax );
8204-
82058193 static void
82068194max_min (typval_T * argvars , typval_T * rettv , int domax )
82078195{
@@ -8284,8 +8272,6 @@ f_min(typval_T *argvars, typval_T *rettv)
82848272 max_min (argvars , rettv , FALSE);
82858273}
82868274
8287- static int mkdir_recurse (char_u * dir , int prot );
8288-
82898275/*
82908276 * Create the directory in which "dir" is located, and higher levels when
82918277 * needed.
@@ -9080,8 +9066,6 @@ f_reg_recording(typval_T *argvars UNUSED, typval_T *rettv)
90809066}
90819067
90829068#if defined(FEAT_RELTIME )
9083- static int list2proftime (typval_T * arg , proftime_T * tm );
9084-
90859069/*
90869070 * Convert a List to proftime_T.
90879071 * Return FAIL when there is something wrong.
@@ -9194,9 +9178,6 @@ f_reltimestr(typval_T *argvars UNUSED, typval_T *rettv)
91949178}
91959179
91969180#if defined(FEAT_CLIENTSERVER ) && defined(FEAT_X11 )
9197- static void make_connection (void );
9198- static int check_connection (void );
9199-
92009181 static void
92019182make_connection (void )
92029183{
@@ -9874,8 +9855,6 @@ f_reverse(typval_T *argvars, typval_T *rettv)
98749855#define SP_END 0x40 /* leave cursor at end of match */
98759856#define SP_COLUMN 0x80 /* start at cursor column */
98769857
9877- static int get_search_arg (typval_T * varp , int * flagsp );
9878-
98799858/*
98809859 * Get flags for a search function.
98819860 * Possibly sets "p_ws".
@@ -10705,8 +10684,6 @@ f_setline(typval_T *argvars, typval_T *rettv)
1070510684 set_buffer_lines (curbuf , lnum , FALSE, & argvars [1 ], rettv );
1070610685}
1070710686
10708- static void set_qf_ll_list (win_T * wp , typval_T * list_arg , typval_T * action_arg , typval_T * what_arg , typval_T * rettv );
10709-
1071010687/*
1071110688 * Used by "setqflist()" and "setloclist()" functions
1071210689 */
@@ -11246,7 +11223,6 @@ typedef struct
1124611223 int item_compare_keep_zero ;
1124711224} sortinfo_T ;
1124811225static sortinfo_T * sortinfo = NULL ;
11249- static void do_sort_uniq (typval_T * argvars , typval_T * rettv , int sort );
1125011226#define ITEM_COMPARE_FAIL 999
1125111227
1125211228/*
@@ -12891,8 +12867,6 @@ f_tabpagenr(typval_T *argvars UNUSED, typval_T *rettv)
1289112867}
1289212868
1289312869
12894- static int get_winnr (tabpage_T * tp , typval_T * argvar );
12895-
1289612870/*
1289712871 * Common code for tabpagewinnr() and winnr().
1289812872 */
0 commit comments