Remove warning about redefined strtok_r

This commit is contained in:
Gregory Nutt 2014-12-08 08:28:22 -06:00
parent 8bd5556b47
commit b7715ee018
2 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,7 @@ static char *MY_strtok_r(char *str, const char *delim, char **saveptr)
return pbegin;
}
#undef strtok_r
#define strtok_r MY_strtok_r
#endif

View File

@ -183,6 +183,7 @@ static char *MY_strtok_r(char *str, const char *delim, char **saveptr)
return pbegin;
}
#undef strtok_r
#define strtok_r MY_strtok_r
#endif