gh-110079: Remove extern "C" { ...} in C code (#110080)

This commit is contained in:
Victor Stinner 2023-09-29 10:56:49 +02:00 committed by GitHub
parent bfd94ab9e9
commit 8b626a47ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 6 additions and 168 deletions

View file

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