diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-02 02:27:13 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-02 02:27:13 +0000 |
commit | 9243e35e239d360574351efc20828c798a6f99ae (patch) | |
tree | 133f3bdb612714d9912c17c54e4574479f0150b9 /Modules/cStringIO.c | |
parent | 20d22374b1f907c721981e12ea7bab17cedd05b5 (diff) | |
download | cpython-9243e35e239d360574351efc20828c798a6f99ae.tar.gz |
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/cStringIO.c')
-rw-r--r-- | Modules/cStringIO.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 2f85f417d9..dfab89a83b 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -701,10 +701,10 @@ static struct PycStringIO_CAPI CAPI = { &Otype, }; -#ifndef DL_EXPORT /* declarations for DLL import/export */ -#define DL_EXPORT(RTYPE) RTYPE +#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ +#define PyMODINIT_FUNC void #endif -DL_EXPORT(void) +PyMODINIT_FUNC initcStringIO(void) { PyObject *m, *d, *v; |