OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 714 to Rev 715
    Reverse comparison

Rev 714 → Rev 715

/trunk/or1ksim/testbench/dhry.c
35,10 → 35,10
#ifndef strcmp
int strcmp (const char *s1, const char *s2)
{
char x;
while ((x = *s1++) && (x == *s2++));
while (*s1 && *s2 && *s1 == *s2) {
s1++;
s2++;
}
return (*(unsigned char *) s1) - (*(unsigned char *) s2);
}
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.