From 5de54208a54ae24374f2cfe170b98e76db07d7b7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Dec 1998 16:49:28 +0000 Subject: Needed to add DL_EXPORT to (redundant?) extern decl of module init function. --- Modules/fpectlmodule.c | 2 +- Modules/fpetestmodule.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index ca3a2c9..cc6709f 100644 --- a/Modules/fpectlmodule.c +++ b/Modules/fpectlmodule.c @@ -82,7 +82,7 @@ static Sigfunc sigfpe_handler; static void fpe_reset(Sigfunc *); static PyObject *fpe_error; -void initfpectl(void); +DL_EXPORT(void) initfpectl(void); static PyObject *turnon_sigfpe (PyObject *self,PyObject *args); static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args); diff --git a/Modules/fpetestmodule.c b/Modules/fpetestmodule.c index c1e87ce..31c2f22 100644 --- a/Modules/fpetestmodule.c +++ b/Modules/fpetestmodule.c @@ -44,7 +44,7 @@ #include "Python.h" static PyObject *fpe_error; -void initfpetest(void); +DL_EXPORT(void) initfpetest(void); static PyObject *test(PyObject *self,PyObject *args); static double db0(double); static double overflow(double); -- cgit v0.12