summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/internal/pycore_pymath.h9
-rw-r--r--Python/errors.c6
2 files changed, 0 insertions, 15 deletions
diff --git a/Include/internal/pycore_pymath.h b/Include/internal/pycore_pymath.h
index 1f54b3d..5c6aee2 100644
--- a/Include/internal/pycore_pymath.h
+++ b/Include/internal/pycore_pymath.h
@@ -8,15 +8,6 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
-// Extra declarations
-#if !defined(_MSC_VER) && !defined(__STDC__)
-extern double fmod (double, double);
-extern double frexp (double, int *);
-extern double ldexp (double, int);
-extern double modf (double, double *);
-extern double pow(double, double);
-#endif // !defined(_MSC_VER) && !defined(__STDC__)
-
/* _Py_ADJUST_ERANGE1(x)
* _Py_ADJUST_ERANGE2(x, y)
diff --git a/Python/errors.c b/Python/errors.c
index 10a06a5..e170c9d 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -10,12 +10,6 @@
#include "pycore_sysmodule.h" // _PySys_Audit()
#include "pycore_traceback.h" // _PyTraceBack_FromFrame()
-#ifndef __STDC__
-#ifndef MS_WINDOWS
-extern char *strerror(int);
-#endif
-#endif
-
#include <ctype.h>
#ifdef MS_WINDOWS
# include <windows.h>