summaryrefslogtreecommitdiff
path: root/Modules/regexmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/regexmodule.c')
-rw-r--r--Modules/regexmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/regexmodule.c b/Modules/regexmodule.c
index 4c7035e501..db541612e2 100644
--- a/Modules/regexmodule.c
+++ b/Modules/regexmodule.c
@@ -642,7 +642,7 @@ static struct PyMethodDef regex_global_methods[] = {
{NULL, NULL} /* sentinel */
};
-DL_EXPORT(void)
+PyMODINIT_FUNC
initregex(void)
{
PyObject *m, *d, *v;