]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/lib/strcase.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6
[linux-2.6-omap-h63xx.git] / arch / powerpc / lib / strcase.c
index 36b521091bbc5a19df487e023925a59c60848685..f8ec1eba3fdde5c081cbfa042a2b2a96cec843aa 100644 (file)
@@ -1,4 +1,6 @@
+#include <linux/types.h>
 #include <linux/ctype.h>
+#include <linux/string.h>
 
 int strcasecmp(const char *s1, const char *s2)
 {
@@ -11,7 +13,7 @@ int strcasecmp(const char *s1, const char *s2)
        return c1 - c2;
 }
 
-int strncasecmp(const char *s1, const char *s2, int n)
+int strncasecmp(const char *s1, const char *s2, size_t n)
 {
        int c1, c2;