Needed to add DL_EXPORT to (redundant?) extern decl of module init function.

This commit is contained in:
Guido van Rossum 1998-12-10 16:49:28 +00:00
parent fba0ba2a6f
commit 5de54208a5
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);