summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-19 20:40:30 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-19 20:40:30 +0000
commit8aff23a13e69dd6290e9a6f2c3aeb4b486f28279 (patch)
tree361a4567d1f0459e4efbe2b5d05db96991679251 /src/ex_cmds.c
parent5195e45609b26b3d262a90822a2283a4adcf65c9 (diff)
updated for version 7.0132v7.0132
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 52104f41ce..529baf7b32 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -30,7 +30,6 @@ static int check_readonly __ARGS((int *forceit, buf_T *buf));
#ifdef FEAT_AUTOCMD
static void delbuf_msg __ARGS((char_u *name));
#endif
-static int do_sub_msg __ARGS((int count_only));
static int
#ifdef __BORLANDC__
_RTLENTRYF
@@ -3940,13 +3939,6 @@ check_secure()
static char_u *old_sub = NULL; /* previous substitute pattern */
static int global_need_beginline; /* call beginline() after ":g" */
-/*
- * When ":global" is used to number of substitutions and changed lines is
- * accumulated until it's finished.
- */
-static long sub_nsubs; /* total number of substitutions */
-static linenr_T sub_nlines; /* total number of lines changed */
-
/* do_sub()
*
* Perform a substitution from line eap->line1 to line eap->line2 using the
@@ -4829,7 +4821,7 @@ outofmem:
* Can also be used after a ":global" command.
* Return TRUE if a message was given.
*/
- static int
+ int
do_sub_msg(count_only)
int count_only; /* used 'n' flag for ":s" */
{