summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c18
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 */