diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-02 02:27:13 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-02 02:27:13 (GMT) |
commit | fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc (patch) | |
tree | 3e1294c64f28a968ac564e96571154f1f591f95f /Modules/fpetestmodule.c | |
parent | d3c884d4ea6f9e3bf68100734bdf7040db9397cb (diff) | |
download | cpython-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/fpetestmodule.c')
-rw-r--r-- | Modules/fpetestmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/fpetestmodule.c b/Modules/fpetestmodule.c index 565d0b7..aa14dd8 100644 --- a/Modules/fpetestmodule.c +++ b/Modules/fpetestmodule.c @@ -44,7 +44,7 @@ #include "Python.h" static PyObject *fpe_error; -DL_EXPORT(void) initfpetest(void); +PyMODINIT_FUNC initfpetest(void); static PyObject *test(PyObject *self,PyObject *args); static double db0(double); static double overflow(double); @@ -172,7 +172,7 @@ static double overflow(double b) return a; } -DL_EXPORT(void) initfpetest(void) +PyMODINIT_FUNC initfpetest(void) { PyObject *m, *d; |