summaryrefslogtreecommitdiffstats
path: root/Modules/binascii.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-08-02 02:27:13 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-08-02 02:27:13 (GMT)
commitfe51c6d66e0fbf6a142036bee2c448bd7fe8fefc (patch)
tree3e1294c64f28a968ac564e96571154f1f591f95f /Modules/binascii.c
parentd3c884d4ea6f9e3bf68100734bdf7040db9397cb (diff)
downloadcpython-fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc.zip
cpython-fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc.tar.gz
cpython-fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc.tar.bz2
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r--Modules/binascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index ec07a71..0fe85fc 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -1313,7 +1313,7 @@ static struct PyMethodDef binascii_module_methods[] = {
/* Initialization function for the module (*must* be called initbinascii) */
PyDoc_STRVAR(doc_binascii, "Conversion between binary data and ASCII");
-DL_EXPORT(void)
+PyMODINIT_FUNC
initbinascii(void)
{
PyObject *m, *d, *x;