Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 6464:4d545cc6fa99 | 6465:c142eb533fb9 |
|---|---|
| 24 #include "node.h" /* internal parser structure */ | 24 #include "node.h" /* internal parser structure */ |
| 25 #include "token.h" /* token definitions */ | 25 #include "token.h" /* token definitions */ |
| 26 /* ISTERMINAL() / ISNONTERMINAL() */ | 26 /* ISTERMINAL() / ISNONTERMINAL() */ |
| 27 #include "compile.h" /* PyNode_Compile() */ | 27 #include "compile.h" /* PyNode_Compile() */ |
| 28 | 28 |
| 29 #ifndef MS_WINDOWS | |
| 30 char *strdup(); | |
| 31 #endif | |
| 29 | 32 |
| 30 /* String constants used to initialize module attributes. | 33 /* String constants used to initialize module attributes. |
| 31 * | 34 * |
| 32 */ | 35 */ |
| 33 static char* | 36 static char* |
