summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-07-06 23:28:35 -0700
committerGitHub <noreply@github.com>2018-07-06 23:28:35 -0700
commit4629c0d531de6b41c9f72b51a44135e9ec634d06 (patch)
tree4ec05ae47894fad9c2bf935bec100c795c62145f
parentcb4bae72c965ce946e0fdb48db67c73afdcb5649 (diff)
downloadcpython-git-4629c0d531de6b41c9f72b51a44135e9ec634d06.tar.gz
Hide some symbols from _xxsubinterpreters. (GH-8151)
-rw-r--r--Modules/_xxsubinterpretersmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index ce243fe30b..8567e4fd97 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -1201,7 +1201,7 @@ done:
PyThread_release_lock(channels->mutex);
}
-int64_t *
+static int64_t *
_channels_list_all(_channels *channels, int64_t *count)
{
int64_t *cids = NULL;
@@ -1545,7 +1545,7 @@ channelid_str(PyObject *self)
return PyUnicode_FromFormat("%" PRId64 "", cid->id);
}
-PyObject *
+static PyObject *
channelid_int(PyObject *self)
{
channelid *cid = (channelid *)self;