>>329
char *strchr(const char *s,int c)
{
for(;*s;s++)
if(*s==(char)c)
return (char *)s; /* ここ */
if(!c)
return (char *)s; /* ここ */

return NULL;
}