Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-03-03 02:16:33 +0300
committerJeff Johnston <jjohnstn@redhat.com>2001-03-03 02:16:33 +0300
commit19ca46d5fbe807cd81afe2dda33bbd669db91e09 (patch)
tree304654afa043ddd143653ca5d4a2bba1e53247ab /newlib/libc/string
parentb73ed85e00944e52791c048324ef8418ae0a3455 (diff)
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/string')
-rw-r--r--newlib/libc/string/strtok.c2
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>