aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/string.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 09:41:40 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 09:41:40 -0800
commit3cbb90a9cb7854b1110663919d5bc3da3f46d5e3 (patch)
treeb7bf16e3e9b44dfaa7d5bff3c612a6ab72bd7169 /include/asm-powerpc/string.h
parentMerge branch 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current (diff)
downloadlinux-dev-3cbb90a9cb7854b1110663919d5bc3da3f46d5e3.tar.xz
linux-dev-3cbb90a9cb7854b1110663919d5bc3da3f46d5e3.zip
powerpc: fix strncasecmp prototype
It takes a size_t, not an int, as its third argument. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-powerpc/string.h')
-rw-r--r--include/asm-powerpc/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/string.h b/include/asm-powerpc/string.h
index 8606a696c088..faa407f33c6b 100644
--- a/include/asm-powerpc/string.h
+++ b/include/asm-powerpc/string.h
@@ -15,7 +15,7 @@
#define __HAVE_ARCH_MEMCHR
extern int strcasecmp(const char *, const char *);
-extern int strncasecmp(const char *, const char *, int);
+extern int strncasecmp(const char *, const char *, __kernel_size_t);
extern char * strcpy(char *,const char *);
extern char * strncpy(char *,const char *, __kernel_size_t);
extern __kernel_size_t strlen(const char *);