diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-03-02 23:16:33 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-03-02 23:16:33 +0000 |
commit | 19ca46d5fbe807cd81afe2dda33bbd669db91e09 (patch) | |
tree | 304654afa043ddd143653ca5d4a2bba1e53247ab /newlib/libc | |
parent | b73ed85e00944e52791c048324ef8418ae0a3455 (diff) | |
download | cygnal-19ca46d5fbe807cd81afe2dda33bbd669db91e09.tar.gz cygnal-19ca46d5fbe807cd81afe2dda33bbd669db91e09.tar.bz2 cygnal-19ca46d5fbe807cd81afe2dda33bbd669db91e09.zip |
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.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/string/strtok.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <string.h> #include <_ansi.h> #include <reent.h> |