summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c5
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");