summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
-rw-r--r--Python/marshal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 858f9e5..abe3a19 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -2841,7 +2841,7 @@ setint(PyObject *d, char *name, int value)
return err;
}
-void
+PyMODINIT_FUNC
initimp(void)
{
PyObject *m, *d;
diff --git a/Python/marshal.c b/Python/marshal.c
index 5aaa382..0bb7b4f 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -875,7 +875,7 @@ static PyMethodDef marshal_methods[] = {
{NULL, NULL} /* sentinel */
};
-void
+PyMODINIT_FUNC
PyMarshal_Init(void)
{
(void) Py_InitModule("marshal", marshal_methods);