diff options
author | Guido van Rossum <guido@python.org> | 1998-12-10 16:49:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-10 16:49:28 (GMT) |
commit | 5de54208a54ae24374f2cfe170b98e76db07d7b7 (patch) | |
tree | 0ca98a4dc38abed6f071c04b991208d0bc950b28 /Modules | |
parent | fba0ba2a6f4ce344de5c3e6f56b579873ca2eb61 (diff) | |
download | cpython-5de54208a54ae24374f2cfe170b98e76db07d7b7.zip cpython-5de54208a54ae24374f2cfe170b98e76db07d7b7.tar.gz cpython-5de54208a54ae24374f2cfe170b98e76db07d7b7.tar.bz2 |
Needed to add DL_EXPORT to (redundant?) extern decl of module init function.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/fpectlmodule.c | 2 | ||||
-rw-r--r-- | 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); |