diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 44754882d..ac112f334 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-03-02 Jeff Johnston + + * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype + of strtok_r is always defined. + 2001-03-02 Jeff Johnston * libc/include/machine/ansi.h: New dummy header file. diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c index bc11f0df7..7f250b456 100644 --- a/newlib/libc/string/strtok.c +++ b/newlib/libc/string/strtok.c @@ -60,6 +60,8 @@ QUICKREF strtok ansi impure */ +/* undef STRICT_ANSI so that strtok_r prototype will be defined */ +#undef __STRICT_ANSI__ #include #include <_ansi.h> #include