X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc%2Flib%2Fstrcase.c;h=3b0094cc2b520e7d24edce4381ef549c41413e98;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=36b521091bbc5a19df487e023925a59c60848685;hpb=64ba3f394c830ec48a1c31b53dcae312c56f1604;p=linux-2.6.git diff --git a/arch/ppc/lib/strcase.c b/arch/ppc/lib/strcase.c index 36b521091..3b0094cc2 100644 --- a/arch/ppc/lib/strcase.c +++ b/arch/ppc/lib/strcase.c @@ -1,4 +1,5 @@ #include +#include int strcasecmp(const char *s1, const char *s2) { @@ -11,7 +12,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;