aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-02-12 13:49:02 +0100
committerJustin M. Keyes <justinkz@gmail.com>2015-02-18 20:54:13 -0500
commit7dd48d7af08613255bc95b63f5b6b0f096a98d22 (patch)
treefb85ab05a011eb6bc23b771569e152410d966811 /src/nvim/vim.h
parent690e43b461491507094da8eeb48a92cf2f38b282 (diff)
downloadrneovim-7dd48d7af08613255bc95b63f5b6b0f096a98d22.tar.gz
rneovim-7dd48d7af08613255bc95b63f5b6b0f096a98d22.tar.bz2
rneovim-7dd48d7af08613255bc95b63f5b6b0f096a98d22.zip
Enable -Wconversion: mark.c.
Refactoring summary: - MB_STRNICMP: Inlined. - MB_STRNCMP: Inlined.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index be3f246ff4..5a89a3c861 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -290,17 +290,6 @@ enum {
# endif
#endif
-/* We need to call mb_stricmp() even when we aren't dealing with a multi-byte
- * encoding because mb_stricmp() takes care of all ascii and non-ascii
- * encodings, including characters with umlauts in latin1, etc., while
- * STRICMP() only handles the system locale version, which often does not
- * handle non-ascii properly. */
-
-# define MB_STRICMP(d, s) mb_strnicmp((char_u *)(d), (char_u *)(s), \
- (int)MAXCOL)
-# define MB_STRNICMP(d, s, n) mb_strnicmp((char_u *)(d), (char_u *)(s), \
- (int)(n))
-
#define STRCAT(d, s) strcat((char *)(d), (char *)(s))
#define STRNCAT(d, s, n) strncat((char *)(d), (char *)(s), (size_t)(n))