summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 9faa89ff4..dd9bc1811 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -1121,8 +1121,6 @@ get_tv_lnum(typval_T *argvars)
}
#ifdef FEAT_FLOAT
-static int get_float_arg(typval_T *argvars, float_T *f);
-
/*
* Get the float value of "argvars[0]" into "f".
* Returns FAIL when the argument is not a Number or Float.
@@ -1722,8 +1720,6 @@ f_browsedir(typval_T *argvars UNUSED, typval_T *rettv)
rettv->v_type = VAR_STRING;
}
-static buf_T *find_buffer(typval_T *avar);
-
/*
* Find a buffer by number or exact name.
*/
@@ -3826,8 +3822,6 @@ f_fnamemodify(typval_T *argvars, typval_T *rettv)
vim_free(fbuf);
}
-static void foldclosed_both(typval_T *argvars, typval_T *rettv, int end);
-
/*
* "foldclosed()" function
*/
@@ -4485,8 +4479,6 @@ f_getbufinfo(typval_T *argvars, typval_T *rettv)
}
}
-static void get_buffer_lines(buf_T *buf, linenr_T start, linenr_T end, int retlist, typval_T *rettv);
-
/*
* Get line or list of lines from buffer "buf" into "rettv".
* Return a range (from start to end) of lines in rettv from the specified
@@ -7566,8 +7558,6 @@ f_localtime(typval_T *argvars UNUSED, typval_T *rettv)
rettv->vval.v_number = (varnumber_T)time(NULL);
}
-static void get_maparg(typval_T *argvars, typval_T *rettv, int exact);
-
static void
get_maparg(typval_T *argvars, typval_T *rettv, int exact)
{
@@ -8177,8 +8167,6 @@ f_matchstrpos(typval_T *argvars, typval_T *rettv)
find_some_match(argvars, rettv, MATCH_POS);
}
-static void max_min(typval_T *argvars, typval_T *rettv, int domax);
-
static void
max_min(typval_T *argvars, typval_T *rettv, int domax)
{
@@ -8261,8 +8249,6 @@ f_min(typval_T *argvars, typval_T *rettv)
max_min(argvars, rettv, FALSE);
}
-static int mkdir_recurse(char_u *dir, int prot);
-
/*
* Create the directory in which "dir" is located, and higher levels when
* needed.
@@ -9057,8 +9043,6 @@ f_reg_recording(typval_T *argvars UNUSED, typval_T *rettv)
}
#if defined(FEAT_RELTIME)
-static int list2proftime(typval_T *arg, proftime_T *tm);
-
/*
* Convert a List to proftime_T.
* Return FAIL when there is something wrong.
@@ -9171,9 +9155,6 @@ f_reltimestr(typval_T *argvars UNUSED, typval_T *rettv)
}
#if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
-static void make_connection(void);
-static int check_connection(void);
-
static void
make_connection(void)
{
@@ -9843,8 +9824,6 @@ f_reverse(typval_T *argvars, typval_T *rettv)
#define SP_END 0x40 /* leave cursor at end of match */
#define SP_COLUMN 0x80 /* start at cursor column */
-static int get_search_arg(typval_T *varp, int *flagsp);
-
/*
* Get flags for a search function.
* Possibly sets "p_ws".
@@ -10674,8 +10653,6 @@ f_setline(typval_T *argvars, typval_T *rettv)
set_buffer_lines(curbuf, lnum, FALSE, &argvars[1], rettv);
}
-static void set_qf_ll_list(win_T *wp, typval_T *list_arg, typval_T *action_arg, typval_T *what_arg, typval_T *rettv);
-
/*
* Used by "setqflist()" and "setloclist()" functions
*/
@@ -11215,7 +11192,6 @@ typedef struct
int item_compare_keep_zero;
} sortinfo_T;
static sortinfo_T *sortinfo = NULL;
-static void do_sort_uniq(typval_T *argvars, typval_T *rettv, int sort);
#define ITEM_COMPARE_FAIL 999
/*
@@ -12860,8 +12836,6 @@ f_tabpagenr(typval_T *argvars UNUSED, typval_T *rettv)
}
-static int get_winnr(tabpage_T *tp, typval_T *argvar);
-
/*
* Common code for tabpagewinnr() and winnr().
*/