X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libiberty%2Fstrncmp.c;fp=libiberty%2Fstrncmp.c;h=916c2f07a8a88cf8213c1c4e338a7cb9a13f19b4;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=819cea6cb58be2a9fd5f0f96ae4245514e091837;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/strncmp.c b/libiberty/strncmp.c index 819cea6c..916c2f07 100644 --- a/libiberty/strncmp.c +++ b/libiberty/strncmp.c @@ -13,16 +13,10 @@ Compares the first @var{n} bytes of two strings, returning a value as */ #include -#ifdef __STDC__ #include -#else -#define size_t unsigned long -#endif int -strncmp(s1, s2, n) - const char *s1, *s2; - register size_t n; +strncmp(const char *s1, const char *s2, register size_t n) { register unsigned char u1, u2;