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
58}58}
59EXPORT_SYMBOL(strncasecmp);59EXPORT_SYMBOL(strncasecmp);
60#endif60#endif
61#ifndef __HAVE_ARCH_STRNICMP
62#undef strnicmp
63int strnicmp(const char *s1, const char *s2, size_t len)
64{
65 return strncasecmp(s1, s2, len);
66}
67EXPORT_SYMBOL(strnicmp);
68#endif
69 61
70#ifndef __HAVE_ARCH_STRCASECMP62#ifndef __HAVE_ARCH_STRCASECMP
71int strcasecmp(const char *s1, const char *s2)63int strcasecmp(const char *s1, const char *s2)