summaryrefslogtreecommitdiffstats
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-09-30 21:43:26 +0200
committerBram Moolenaar <Bram@vim.org>2018-09-30 21:43:26 +0200
commit6dff58f15cede9139b2fcfc64c9064326ea3d3b0 (patch)
treef2326055f5fe8bb5948374155f11bd220c1d9dc7 /src/regexp.c
parentf45d747ebf920940b041f5c75c2bfdffb6b670ae (diff)
patch 8.1.0443: unnecessary static function prototypesv8.1.0443
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 9d7350b6ed..04116675f8 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -3466,7 +3466,6 @@ typedef struct regbehind_S
save_se_T save_end[NSUBEXP];
} regbehind_T;
-static char_u *reg_getline(linenr_T lnum);
static long bt_regexec_both(char_u *line, colnr_T col, proftime_T *tm, int *timed_out);
static long regtry(bt_regprog_T *prog, colnr_T col, proftime_T *tm, int *timed_out);
static void cleanup_subexpr(void);
@@ -4009,8 +4008,6 @@ theend:
}
#ifdef FEAT_SYN_HL
-static reg_extmatch_T *make_extmatch(void);
-
/*
* Create a new extmatch and mark it as referenced once.
*/
@@ -4137,8 +4134,6 @@ regtry(
}
#ifdef FEAT_MBYTE
-static int reg_prev_class(void);
-
/*
* Get class of previous character.
*/
@@ -4152,8 +4147,6 @@ reg_prev_class(void)
}
#endif
-static int reg_match_visual(void);
-
/*
* Return TRUE if the current rex.input position matches the Visual area.
*/
@@ -7010,8 +7003,6 @@ re_mult_next(char *what)
}
#ifdef FEAT_MBYTE
-static void mb_decompose(int c, int *c1, int *c2, int *c3);
-
typedef struct
{
int a, b, c;
@@ -7215,11 +7206,6 @@ cstrchr(char_u *s, int c)
*/
typedef void (*(*fptr_T)(int *, int))();
-static fptr_T do_upper(int *, int);
-static fptr_T do_Upper(int *, int);
-static fptr_T do_lower(int *, int);
-static fptr_T do_Lower(int *, int);
-
static int vim_regsub_both(char_u *source, typval_T *expr, char_u *dest, int copy, int magic, int backslash);
static fptr_T
@@ -7883,8 +7869,6 @@ exit:
}
#ifdef FEAT_EVAL
-static char_u *reg_getline_submatch(linenr_T lnum);
-
/*
* Call reg_getline() with the line numbers from the submatch. If a
* substitute() was used the reg_maxline and other values have been
@@ -8212,8 +8196,6 @@ vim_regfree(regprog_T *prog)
}
#ifdef FEAT_EVAL
-static void report_re_switch(char_u *pat);
-
static void
report_re_switch(char_u *pat)
{