diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-08-26 07:38:06 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-08-26 07:38:06 (GMT) |
commit | 6d7c442e03b3e850ef0af5a6ee2a4e5947dfb70a (patch) | |
tree | 317a02e70d6bf79ea8baf63ce12c61c386c1eaa0 /Modules/pyexpat.c | |
parent | 018cbb15c04aa544708430bb5b91aebe3e808923 (diff) | |
download | cpython-6d7c442e03b3e850ef0af5a6ee2a4e5947dfb70a.zip cpython-6d7c442e03b3e850ef0af5a6ee2a4e5947dfb70a.tar.gz cpython-6d7c442e03b3e850ef0af5a6ee2a4e5947dfb70a.tar.bz2 |
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.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 8b29d4b..28fb42b 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -854,7 +854,7 @@ static char pyexpat_module_documentation[] = /* Initialization function for the module */ -DL_IMPORT(void) initpyexpat(void); +DL_EXPORT(void) initpyexpat(void); /* supply a prototype */ DL_EXPORT(void) initpyexpat(void) |