summaryrefslogtreecommitdiffstats
path: root/Modules/parsermodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-08 15:45:53 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-08 15:45:53 (GMT)
commit1f14ccf6d1dc4e4f5142ef8d061f9080d17b16fe (patch)
tree5d8e1a8b37c531049a00936c1a1b43823a580c07 /Modules/parsermodule.c
parent9b2681b3556a9fd47c6c836b6f6381f815bbb5d2 (diff)
downloadcpython-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/parsermodule.c')
-rw-r--r--Modules/parsermodule.c3
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.
*