diff Modules/parsermodule.c @ 14219:2c3283094311 legacy-trunk

Try to supply a prototype for the module init function but avoid Windows "inconsistent linkage" warnings at the same time. I agree with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system needs an overhaul; this is just an expedient hack until then.
author Tim Peters <tim.peters@gmail.com>
date Sat, 26 Aug 2000 07:38:06 +0000
parents b5fb175ad528
children 5397fdf88ec2
line wrap: on
line diff
--- a/Modules/parsermodule.c	Sat Aug 26 02:40:10 2000 +0000
+++ b/Modules/parsermodule.c	Sat Aug 26 07:38:06 2000 +0000
@@ -2846,7 +2846,7 @@
     };
 
 
-DL_IMPORT(void) initparser(void);
+DL_EXPORT(void) initparser(void);  /* supply a prototype */
 
 DL_EXPORT(void)
 initparser(void)