projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2e6d7
)
ppc: fix strncasecmp prototype
author
Kumar Gala
<galak@kernel.crashing.org>
Tue, 28 Mar 2006 00:26:18 +0000
(18:26 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Tue, 28 Mar 2006 00:26:18 +0000
(18:26 -0600)
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>
arch/ppc/lib/strcase.c
patch
|
blob
|
history
diff --git
a/arch/ppc/lib/strcase.c
b/arch/ppc/lib/strcase.c
index 36b521091bbc5a19df487e023925a59c60848685..d9885789061928068c027d2514cf8e76e8a3464a 100644
(file)
--- a/
arch/ppc/lib/strcase.c
+++ b/
arch/ppc/lib/strcase.c
@@
-11,7
+11,7
@@
int strcasecmp(const char *s1, const char *s2)
return c1 - c2;
}
-int strncasecmp(const char *s1, const char *s2,
in
t n)
+int strncasecmp(const char *s1, const char *s2,
size_
t n)
{
int c1, c2;