diff options
| author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-12 18:02:15 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 21:54:14 -0500 |
| commit | af3cd13501eb04ca61d017ff4406f1cbffafdc04 (patch) | |
| tree | 5db6541c752c18f453fd37d990932fb47cde82fe /include/linux/string.h | |
| parent | 9814ec135dedb70a9daa41e68798d540d7ba71f2 (diff) | |
lib/string.c: remove strnicmp()
Now that all in-tree users of strnicmp have been converted to
strncasecmp, the wrapper can be removed.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: David Howells <dhowells@redhat.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/string.h')
| -rw-r--r-- | include/linux/string.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 2e22a2e58f3a..b9bc9a5d9e21 100644 --- a/include/linux/string.h +++ b/include/linux/string.h | |||
| @@ -40,9 +40,6 @@ extern int strcmp(const char *,const char *); | |||
| 40 | #ifndef __HAVE_ARCH_STRNCMP | 40 | #ifndef __HAVE_ARCH_STRNCMP |
| 41 | extern int strncmp(const char *,const char *,__kernel_size_t); | 41 | extern int strncmp(const char *,const char *,__kernel_size_t); |
| 42 | #endif | 42 | #endif |
| 43 | #ifndef __HAVE_ARCH_STRNICMP | ||
| 44 | #define strnicmp strncasecmp | ||
| 45 | #endif | ||
| 46 | #ifndef __HAVE_ARCH_STRCASECMP | 43 | #ifndef __HAVE_ARCH_STRCASECMP |
| 47 | extern int strcasecmp(const char *s1, const char *s2); | 44 | extern int strcasecmp(const char *s1, const char *s2); |
| 48 | #endif | 45 | #endif |
