History

lib/string.c: remove strnicmp()

Now that all in-tree users of strnicmp have been converted to strncasecmp, the wrapper can be removed.

Rasmus Villemoes committed 11 years ago

Commit af3cd131 parent 9814ec14 files · +0 −13Browse files

Showing the changes to lib/string.c (1 of 4 files). Show all

Unified · Split

lib/string.c+0−8
@@ -58,14 +58,6 @@ int strncasecmp(const char *s1, const char *s2, size_t len) · 57 unmodified lines
5858 }
5959 EXPORT_SYMBOL(strncasecmp);
6060 #endif
61−#ifndef __HAVE_ARCH_STRNICMP
62−#undef strnicmp
63−int strnicmp(const char *s1, const char *s2, size_t len)
64−{
65− return strncasecmp(s1, s2, len);
66−}
67−EXPORT_SYMBOL(strnicmp);
68−#endif
6961
7062 #ifndef __HAVE_ARCH_STRCASECMP
7163 int strcasecmp(const char *s1, const char *s2)