From 8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 29 Sep 2023 10:56:49 +0200 Subject: gh-110079: Remove extern "C" { ...} in C code (#110080) --- Python/dtoa.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Python/dtoa.c') diff --git a/Python/dtoa.c b/Python/dtoa.c index c5e343b82f7..5dfc0e179cb 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 -- cgit v1.2.3