From 1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 8 Oct 1997 15:45:53 +0000 Subject: 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 :-( ). --- Modules/parsermodule.c | 3 +++ 1 file changed, 3 insertions(+) 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. * -- cgit v0.12