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

@ -100,11 +100,6 @@ NOTE: In the interpreter's initialization phase, some globals are currently
*/
#ifdef __cplusplus
extern "C" {
#endif
// Maximum code point of Unicode 6.0: 0x10ffff (1,114,111).
// The value must be the same in fileutils.c.
#define MAX_UNICODE 0x10ffff
@ -15397,8 +15392,3 @@ PyInit__string(void)
{
return PyModuleDef_Init(&_string_module);
}
#ifdef __cplusplus
}
#endif