~linaro-toolchain-dev/cortex-strings/trunk

4 by Michael Hope
Modified the imported versions to build locally. Added the CSL routines.
1
int strcmp(const char *s1, const char *s2)
2
{ 
3
  while (*s1 != '\0' && *s1 == *s2)
4
    {
5
      s1++;
6
      s2++;
7
    }
8
9
  return (*(unsigned char *) s1) - (*(unsigned char *) s2);
10
}
11