Subversion Repositories freemyipod

Rev

Rev 113 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 113 Rev 248
Line 62... Line 62...
62
_DEFUN (strchr, (s1, i),
62
_DEFUN (strchr, (s1, i),
63
        _CONST char *s1 _AND
63
        _CONST char *s1 _AND
64
        int i)
64
        int i)
65
{
65
{
66
  _CONST unsigned char *s = (_CONST unsigned char *)s1;
66
  _CONST unsigned char *s = (_CONST unsigned char *)s1;
67
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
67
#if defined(PREFER_SIZE_OVER_SPEED)
68
  unsigned char c = (unsigned int)i;
68
  unsigned char c = (unsigned int)i;
69
 
69
 
70
  while (*s && *s != c)
70
  while (*s && *s != c)
71
    {
71
    {
72
      s++;
72
      s++;