aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-03-27 19:26:18 -0500
committerKumar Gala <galak@kernel.crashing.org>2006-03-27 19:26:18 -0500
commitcbd312b94ed123dc7080c9591cb715cd2a7327c0 (patch)
treec46e928055b2d7f99ebca053c18a3191a07067ef
parentff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e (diff)
ppc: fix strncasecmp prototype
Match, Linus's fix to arch/powerpc in arch/ppc. strcasecmp takes a size_t, not an int, as its third argument. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/ppc/lib/strcase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/lib/strcase.c b/arch/ppc/lib/strcase.c
index 36b521091bbc..d98857890619 100644
--- a/arch/ppc/lib/strcase.c
+++ b/arch/ppc/lib/strcase.c
@@ -11,7 +11,7 @@ int strcasecmp(const char *s1, const char *s2)
11 return c1 - c2; 11 return c1 - c2;
12} 12}
13 13
14int strncasecmp(const char *s1, const char *s2, int n) 14int strncasecmp(const char *s1, const char *s2, size_t n)
15{ 15{
16 int c1, c2; 16 int c1, c2;
17 17