2001-03-02 Jeff Johnston <jjohnstn@redhat.com>

* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
        of strtok_r is always defined.
This commit is contained in:
Jeff Johnston 2001-03-02 23:16:33 +00:00
parent b73ed85e00
commit 19ca46d5fb
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
of strtok_r is always defined.
2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/ansi.h: New dummy header file.

View File

@ -60,6 +60,8 @@ QUICKREF
strtok ansi impure
*/
/* undef STRICT_ANSI so that strtok_r prototype will be defined */
#undef __STRICT_ANSI__
#include <string.h>
#include <_ansi.h>
#include <reent.h>