]> granicus.if.org Git - python/commitdiff
Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.
authorGuido van Rossum <guido@python.org>
Wed, 8 Oct 1997 15:45:53 +0000 (15:45 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 8 Oct 1997 15:45:53 +0000 (15:45 +0000)
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

index 6c885dfbe54cfb8fba6ef33578386a6b68bee997..75b929beb087bc670da30d842e63dfac8313eb3e 100644 (file)
@@ -26,6 +26,9 @@
                                        /* ISTERMINAL() / ISNONTERMINAL() */
 #include "compile.h"                   /* PyNode_Compile()               */
 
+#ifndef MS_WINDOWS
+char *strdup();
+#endif
 
 /*  String constants used to initialize module attributes.
  *