aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-01-14 00:38:28 -0500
committerMichael Reed <m.reed@mykolab.com>2015-01-14 15:07:16 -0500
commitd86ebc7afb0f80a597d1361f54e838ce4689e36c (patch)
tree3874f9594796f75e7d1a97bf35b7d591a7389c9c /src/nvim/strings.c
parent9b4f6fbd33ebd452d472b0333accfcb34e01173b (diff)
downloadrneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.gz
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.bz2
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.zip
Macro cleanup: PROTO
Regarding dict_lookup() in eval.c: both definitions are the same, the only difference being the spacing between the indirection operator and the indentation level.
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index 25e4a6c93b..20fa35ed1c 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -329,7 +329,7 @@ void vim_strcat(char_u *restrict to, const char_u *restrict from,
STRCPY(to + tolen, from);
}
-#if (!defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP)) || defined(PROTO)
+#if (!defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP))
/*
* Compare two strings, ignoring case, using current locale.
* Doesn't work for multi-byte characters.
@@ -353,7 +353,7 @@ int vim_stricmp(const char *s1, const char *s2)
}
#endif
-#if (!defined(HAVE_STRNCASECMP) && !defined(HAVE_STRNICMP)) || defined(PROTO)
+#if (!defined(HAVE_STRNCASECMP) && !defined(HAVE_STRNICMP))
/*
* Compare two strings, for length "len", ignoring case, using current locale.
* Doesn't work for multi-byte characters.