summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.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/fpectlmodule.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/fpectlmodule.c')
-rw-r--r--Modules/fpectlmodule.c4
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);