summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-10-13 15:00:14 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2014-10-13 15:00:14 +1100
commit0cecd190380e208117a0ee490d29b938986199af (patch)
tree7c0229c0f66897e64e03297c7cbf5702e5aaefff /include/linux/string.h
parent26a6ee6a68e06162ddd7a1781ad5c14d0a1cd965 (diff)
parenta9d5ebcae40106535e34d377a347e224d8d0d50a (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 416b544b59cd..a0c6fd5fb5c5 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -41,7 +41,7 @@ extern int strcmp(const char *,const char *);
extern int strncmp(const char *,const char *,__kernel_size_t);
#endif
#ifndef __HAVE_ARCH_STRNICMP
-extern int strnicmp(const char *, const char *, __kernel_size_t);
+#define strnicmp strncasecmp
#endif
#ifndef __HAVE_ARCH_STRCASECMP
extern int strcasecmp(const char *s1, const char *s2);