summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-11 21:21:40 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-11 21:21:40 +0000
commitc5a1e80ca2492520334be29aaa15d1c400ad7e70 (patch)
tree18ed8be51f48cd3138880ebd9e56e3f6797f67f5 /src
parentab7013c8d8f61c3a7d74c79286d5df64ebb9f3d6 (diff)
updated for version 7.0037
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 84cb391309..0bcd69e6ec 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -64,7 +64,6 @@ static char_u *do_one_cmd __ARGS((char_u **, int, struct condstack *, char_u *(*
static char_u *do_one_cmd __ARGS((char_u **, int, char_u *(*getline)(int, void *, int), void *cookie));
static int if_level = 0; /* depth in :if */
#endif
-static int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
static char_u *find_command __ARGS((exarg_T *eap, int *full));
static void ex_abbreviate __ARGS((exarg_T *eap));
@@ -2616,12 +2615,12 @@ doend:
#endif
/*
- * Check for a command modifier command with optional tail.
+ * Check for an Ex command with optional tail.
* If there is a match advance "pp" to the argument and return TRUE.
*/
- static int
+ int
checkforcmd(pp, cmd, len)
- char_u **pp; /* start of command line */
+ char_u **pp; /* start of command */
char *cmd; /* name of command */
int len; /* required length */
{