Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 6465:c142eb533fb9 legacy-trunk
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 :-( ).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 08 Oct 1997 15:45:53 +0000 |
| parents | 42bc792ac69f |
| children | dca9bdf5ea08 |
line wrap: on
line diff
--- a/Modules/parsermodule.c Wed Oct 08 15:35:17 1997 +0000 +++ b/Modules/parsermodule.c Wed Oct 08 15:45:53 1997 +0000 @@ -26,6 +26,9 @@ /* ISTERMINAL() / ISNONTERMINAL() */ #include "compile.h" /* PyNode_Compile() */ +#ifndef MS_WINDOWS +char *strdup(); +#endif /* String constants used to initialize module attributes. *
