diff src/regexp.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 72d506d94f3f
children de63593896b3
line wrap: on
line diff
--- 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)
 {