diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-19 06:55:41 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-19 06:55:41 (GMT) |
commit | 8235ea1c3a5c57c9279668b5bff3d5f021ceb2d5 (patch) | |
tree | aaab09a7c61fc66bc25bb19cc885692bd0e8e121 /Modules/pyexpat.c | |
parent | b88169819c301dc77fc2f240c1641acf0b8cf5af (diff) | |
download | cpython-8235ea1c3a5c57c9279668b5bff3d5f021ceb2d5.zip cpython-8235ea1c3a5c57c9279668b5bff3d5f021ceb2d5.tar.gz cpython-8235ea1c3a5c57c9279668b5bff3d5f021ceb2d5.tar.bz2 |
Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r-- | Modules/pyexpat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index d65ede9..76abe1f 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1583,10 +1583,9 @@ get_version_string(void) #define MODULE_INITFUNC initpyexpat #endif -void MODULE_INITFUNC(void); /* avoid compiler warnings */ +PyMODINIT_FUNC MODULE_INITFUNC(void); /* avoid compiler warnings */ -DL_EXPORT(void) -MODULE_INITFUNC(void) +PyMODINIT_FUNC MODULE_INITFUNC(void) { PyObject *m, *d; PyObject *errmod_name = PyString_FromString(MODULE_NAME ".errors"); |