提交 cbd312b9 编写于 作者: K Kumar Gala

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: NKumar Gala <galak@kernel.crashing.org>
上级 ff2e6d7e
......@@ -11,7 +11,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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册