summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.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/ex_cmds2.c
parentf45d747ebf920940b041f5c75c2bfdffb6b670ae (diff)
downloadvim-git-6dff58f15cede9139b2fcfc64c9064326ea3d3b0.tar.gz
patch 8.1.0443: unnecessary static function prototypesv8.1.0443
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index c0cb87f70..032ebe93b 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -68,7 +68,6 @@ typedef struct sn_prl_S
#if defined(FEAT_EVAL) || defined(PROTO)
static int debug_greedy = FALSE; /* batch mode debugging: don't save
and restore typeahead. */
-static int get_maxbacktrace_level(void);
static void do_setdebugtracelevel(char_u *arg);
static void do_checkbacktracelevel(void);
static void do_showbacktrace(char_u *cmd);
@@ -573,7 +572,6 @@ static garray_T prof_ga = {0, 0, sizeof(struct debuggy), 4, NULL};
#define DBG_FILE 2
#define DBG_EXPR 3
-static int dbg_parsearg(char_u *arg, garray_T *gap);
static linenr_T debuggy_find(int file,char_u *fname, linenr_T after, garray_T *gap, int *fp);
/*
@@ -1611,7 +1609,6 @@ profile_divide(proftime_T *tm, int count, proftime_T *tm2)
/*
* Functions for profiling.
*/
-static void script_do_profile(scriptitem_T *si);
static void script_dump_profile(FILE *fd);
static proftime_T prof_wait_time;
@@ -2242,8 +2239,6 @@ can_abandon(buf_T *buf, int forceit)
|| forceit);
}
-static void add_bufnum(int *bufnrs, int *bufnump, int nr);
-
/*
* Add a buffer number to "bufnrs", unless it's already there.
*/
@@ -2444,10 +2439,8 @@ buf_write_all(buf_T *buf, int forceit)
* Code to handle the argument list.
*/
-static char_u *do_one_arg(char_u *str);
static int do_arglist(char_u *str, int what, int after, int will_edit);
static void alist_check_arg_idx(void);
-static int editing_arg_idx(win_T *win);
static void alist_add_list(int count, char_u **files, int after, int will_edit);
#define AL_SET 1
#define AL_ADD 2
@@ -4299,8 +4292,6 @@ static char_u *get_one_sourceline(struct source_cookie *sp);
#if (defined(WIN32) && defined(FEAT_CSCOPE)) || defined(HAVE_FD_CLOEXEC)
# define USE_FOPEN_NOINH
-static FILE *fopen_noinh_readbin(char *filename);
-
/*
* Special function to open a file without handle inheritance.
* When possible the handle is closed on exec().
@@ -5291,8 +5282,6 @@ ex_checktime(exarg_T *eap)
#if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
&& (defined(FEAT_EVAL) || defined(FEAT_MULTI_LANG))
# define HAVE_GET_LOCALE_VAL
-static char_u *get_locale_val(int what);
-
static char_u *
get_locale_val(int what)
{
@@ -5410,8 +5399,6 @@ get_mess_lang(void)
|| ((defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
&& (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) \
&& !defined(LC_MESSAGES))
-static char_u *get_mess_env(void);
-
/*
* Get the language used for messages from the environment.
*/