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

@ -28,10 +28,6 @@
# error "Py_LIMITED_API macro must not be defined"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Defined in tracemalloc.c */
extern void _PyMem_DumpTraceback(int fd, const void *ptr);
@ -2808,7 +2804,3 @@ int Py_IsFalse(PyObject *x)
{
return Py_Is(x, Py_False);
}
#ifdef __cplusplus
}
#endif