diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-29 08:56:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 08:56:49 (GMT) |
commit | 8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a (patch) | |
tree | 325fbb4507cac60718250226d1b7f7e1db559ef3 /Python/sysmodule.c | |
parent | bfd94ab9e9f4055ecedaa500b46b0270da9ffe12 (diff) | |
download | cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.zip cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.tar.gz cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.tar.bz2 |
gh-110079: Remove extern "C" { ...} in C code (#110080)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 9c1ee02..7ba7be1 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -2039,11 +2039,6 @@ sys_call_tracing_impl(PyObject *module, PyObject *func, PyObject *funcargs) return _PyEval_CallTracing(func, funcargs); } - -#ifdef __cplusplus -extern "C" { -#endif - /*[clinic input] sys._debugmallocstats @@ -2072,10 +2067,6 @@ sys__debugmallocstats_impl(PyObject *module) extern PyObject *_Py_GetObjects(PyObject *, PyObject *); #endif -#ifdef __cplusplus -} -#endif - /*[clinic input] sys._clear_type_cache @@ -2297,11 +2288,6 @@ sys__getframemodulename_impl(PyObject *module, int depth) return Py_NewRef(r); } - -#ifdef __cplusplus -extern "C" { -#endif - static PerfMapState perf_map_state; PyAPI_FUNC(int) PyUnstable_PerfMapState_Init(void) { @@ -2370,10 +2356,6 @@ PyAPI_FUNC(void) PyUnstable_PerfMapState_Fini(void) { #endif } -#ifdef __cplusplus -} -#endif - static PyMethodDef sys_methods[] = { /* Might as well keep this in alphabetic order */ |