summaryrefslogtreecommitdiff
path: root/src/mbyte.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/mbyte.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/mbyte.c')
-rw-r--r--src/mbyte.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 895f3b799..26233e423 100644
--- 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, int size);
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_window, Display *x11_display);
# ifdef USE_X11R6_XIM
-static void xim_destroy_cb(XIM im, XPointer client_data, XPointer call_data);
-
static void
xim_instantiate_cb(
Display *display,