summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-31 06:17:46 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-31 06:17:46 (GMT)
commit543fb35cca90b94f6d841a7081bb918eb6eb7c84 (patch)
tree27ed942889bdc34a2c85e8c97b82059ac3cf262e /Doc/ext
parent408b6d34de2b1a6ba690557def435adce9314184 (diff)
downloadcpython-543fb35cca90b94f6d841a7081bb918eb6eb7c84.zip
cpython-543fb35cca90b94f6d841a7081bb918eb6eb7c84.tar.gz
cpython-543fb35cca90b94f6d841a7081bb918eb6eb7c84.tar.bz2
Replace DL_EXPORT with PyMODINIT_FUNC
Diffstat (limited to 'Doc/ext')
-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;