Mercurial > vim
diff src/term.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 | 7cc2d28778ac |
children | cf4d6489c9eb |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -74,7 +74,6 @@ struct builtin_term /* start of keys that are not directly used by Vim but can be mapped */ #define BT_EXTRA_KEYS 0x101 -static struct builtin_term *find_builtin_term(char_u *name); static void parse_builtin_tcap(char_u *s); static void gather_termleader(void); #ifdef FEAT_TERMRESPONSE @@ -91,9 +90,6 @@ static int get_bytes_from_buf(char_u *, static void del_termcode_idx(int idx); static int term_is_builtin(char_u *name); static int term_7to8bit(char_u *p); -#ifdef FEAT_TERMRESPONSE -static void switch_to_8bit(void); -#endif #ifdef HAVE_TGETENT static char_u *tgetent_error(char_u *, char_u *); @@ -2429,8 +2425,6 @@ tltoa(unsigned long i) * minimal tgoto() implementation. * no padding and we only parse for %i %d and %+char */ -static char *tgoto(char *, int, int); - static char * tgoto(char *cm, int x, int y) { @@ -3147,8 +3141,6 @@ add_long_to_buf(long_u val, char_u *dst) } } -static int get_long_from_buf(char_u *buf, long_u *val); - /* * Interpret the next string of bytes in buf as a long integer, with the most * significant byte first. Note that it is assumed that buf has been through