Stupid gcc always includes its own builtin strlen()...

This commit is contained in:
Eric Andersen
2002-04-13 13:02:03 +00:00
parent 4c9b68f0e0
commit db7d5fca5f
2 changed files with 10 additions and 0 deletions

View File

@ -85,6 +85,12 @@ FILE *xfopen(const char *path, const char *mode)
return fp;
}
/* Stupid gcc always includes its own builtin strlen()... */
size_t xstrlen(const char *string)
{
return(strlen(string));
}
/* END CODE */
/*
Local Variables: