aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/lib/strcase.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/lib/strcase.c b/arch/powerpc/lib/strcase.c
index 36b521091bbc..f8ec1eba3fdd 100644
--- a/arch/powerpc/lib/strcase.c
+++ b/arch/powerpc/lib/strcase.c
@@ -1,4 +1,6 @@
1#include <linux/types.h>
1#include <linux/ctype.h> 2#include <linux/ctype.h>
3#include <linux/string.h>
2 4
3int strcasecmp(const char *s1, const char *s2) 5int strcasecmp(const char *s1, const char *s2)
4{ 6{
@@ -11,7 +13,7 @@ int strcasecmp(const char *s1, const char *s2)
11 return c1 - c2; 13 return c1 - c2;
12} 14}
13 15
14int strncasecmp(const char *s1, const char *s2, int n) 16int strncasecmp(const char *s1, const char *s2, size_t n)
15{ 17{
16 int c1, c2; 18 int c1, c2;
17 19