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/fpectlmodule.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/fpectlmodule.c')
-rw-r--r-- | Modules/fpectlmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index c4b85d1..c29bcef 100644 --- a/Modules/fpectlmodule.c +++ b/Modules/fpectlmodule.c @@ -86,7 +86,7 @@ static Sigfunc sigfpe_handler; static void fpe_reset(Sigfunc *); static PyObject *fpe_error; -DL_EXPORT(void) initfpectl(void); +PyMODINIT_FUNC initfpectl(void); static PyObject *turnon_sigfpe (PyObject *self,PyObject *args); static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args); @@ -249,7 +249,7 @@ static void sigfpe_handler(int signo) } } -DL_EXPORT(void) initfpectl(void) +PyMODINIT_FUNC initfpectl(void) { PyObject *m, *d; m = Py_InitModule("fpectl", fpectl_methods); |