From 19ca46d5fbe807cd81afe2dda33bbd669db91e09 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 2 Mar 2001 23:16:33 +0000 Subject: 2001-03-02 Jeff Johnston * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype of strtok_r is always defined. --- newlib/libc/string/strtok.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/string') 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 -- cgit v1.2.3