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.
This commit is contained in:
Tim Peters 2000-08-26 07:38:06 +00:00
parent 018cbb15c0
commit 6d7c442e03
2 changed files with 2 additions and 2 deletions

View file

@ -2846,7 +2846,7 @@ static PyMethodDef parser_functions[] = {
};
DL_IMPORT(void) initparser(void);
DL_EXPORT(void) initparser(void); /* supply a prototype */
DL_EXPORT(void)
initparser(void)