summaryrefslogtreecommitdiffstats
path: root/Python/dtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/dtoa.c')
-rw-r--r--Python/dtoa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Python/dtoa.c b/Python/dtoa.c
index c5e343b..5dfc0e1 100644
--- a/Python/dtoa.c
+++ b/Python/dtoa.c
@@ -172,10 +172,6 @@ typedef uint64_t ULLong;
#define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);}
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef union { double d; ULong L[2]; } U;
#ifdef IEEE_8087
@@ -2813,8 +2809,5 @@ _Py_dg_dtoa(double dd, int mode, int ndigits,
_Py_dg_freedtoa(s0);
return NULL;
}
-#ifdef __cplusplus
-}
-#endif
#endif // _PY_SHORT_FLOAT_REPR == 1