summaryrefslogtreecommitdiffstats
path: root/Doc/ext/noddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ext/noddy.c')
-rw-r--r--Doc/ext/noddy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/noddy.c b/Doc/ext/noddy.c
index 933ee1b..23f26ef 100644
--- a/Doc/ext/noddy.c
+++ b/Doc/ext/noddy.c
@@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = {
{NULL} /* Sentinel */
};
-DL_EXPORT(void)
+PyMODINIT_FUNC
initnoddy(void)
{
noddy_NoddyType.ob_type = &PyType_Type;