Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbd312b9 authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent ff2e6d7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;