mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Needed to add DL_EXPORT to (redundant?) extern decl of module init function.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user