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:
parent
b73ed85e00
commit
19ca46d5fb
|
@ -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>
|
2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/machine/ansi.h: New dummy header file.
|
* libc/include/machine/ansi.h: New dummy header file.
|
||||||
|
|
|
@ -60,6 +60,8 @@ QUICKREF
|
||||||
strtok ansi impure
|
strtok ansi impure
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* undef STRICT_ANSI so that strtok_r prototype will be defined */
|
||||||
|
#undef __STRICT_ANSI__
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <_ansi.h>
|
#include <_ansi.h>
|
||||||
#include <reent.h>
|
#include <reent.h>
|
||||||
|
|
Loading…
Reference in New Issue