diff options
author | Guido van Rossum <guido@python.org> | 1997-10-08 15:45:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-10-08 15:45:53 (GMT) |
commit | 1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe (patch) | |
tree | 5d8e1a8b37c531049a00936c1a1b43823a580c07 /Modules | |
parent | 9b2681b3556a9fd47c6c836b6f6381f815bbb5d2 (diff) | |
download | cpython-1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe.zip cpython-1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe.tar.gz cpython-1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe.tar.bz2 |
Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.
This should make everybody happy, especially since we don't say what
the argument type is (there is disagreement on that, too :-( ).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/parsermodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 6c885df..75b929b 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -26,6 +26,9 @@ /* ISTERMINAL() / ISNONTERMINAL() */ #include "compile.h" /* PyNode_Compile() */ +#ifndef MS_WINDOWS +char *strdup(); +#endif /* String constants used to initialize module attributes. * |