Mercurial > vim
diff src/mbyte.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 | 193471015e1a |
children | 55ccc2d353bd |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -138,7 +138,6 @@ #if defined(FEAT_MBYTE) || defined(PROTO) -static int enc_canon_search(char_u *name); static int dbcs_char2len(int c); static int dbcs_char2bytes(int c, char_u *buf); static int dbcs_ptr2len(char_u *p); @@ -147,7 +146,6 @@ static int utf_ptr2cells_len(char_u *p, static int dbcs_char2cells(int c); static int dbcs_ptr2cells_len(char_u *p, int size); static int dbcs_ptr2char(char_u *p); -static int utf_safe_read_char_adv(char_u **s, size_t *n); /* * Lookup table to quickly get the length in bytes of a UTF-8 character from @@ -3133,9 +3131,6 @@ static convertStruct foldCase[] = {0x1e900,0x1e921,1,34} }; -static int utf_convert(int a, convertStruct table[], int tableSize); -static int utf_strnicmp(char_u *s1, char_u *s2, size_t n1, size_t n2); - /* * Generic conversion function for case operations. * Return the converted equivalent of "a", which is a UCS-4 character. Use @@ -4542,8 +4537,6 @@ encname2codepage(char_u *name) # if defined(USE_ICONV) || defined(PROTO) -static char_u *iconv_string(vimconv_T *vcp, char_u *str, int slen, int *unconvlenp, int *resultlenp); - /* * Call iconv_open() with a check if iconv() works properly (there are broken * versions). @@ -6053,8 +6046,6 @@ static int xim_real_init(Window x11_wind # ifdef USE_X11R6_XIM -static void xim_destroy_cb(XIM im, XPointer client_data, XPointer call_data); - static void xim_instantiate_cb( Display *display,