(strstr): Deleted.

From-SVN: r9746
This commit is contained in:
Richard Kenner 1995-05-19 17:46:07 -04:00
parent 6536dfcbac
commit dca0093028
1 changed files with 0 additions and 24 deletions

View File

@ -363,30 +363,6 @@ my_strerror (e)
return buffer;
#endif
}
#ifndef POSIX
char *
strstr (s1, s2)
char *s1, *s2;
{
register char *p = s1;
extern char *strchr ();
extern int strncmp ();
#if __GNUC__==2
extern __SIZE_TYPE__ strlen ();
#endif
register int len = strlen (s2);
for (; (p = strchr (p, *s2)) != 0; p++)
{
if (strncmp (p, s2, len) == 0)
{
return (p);
}
}
return (0);
}
#endif
/* Delete tempfiles and exit function. */