From: Benjamin Peterson Date: Sat, 7 Jul 2018 06:28:35 +0000 (-0700) Subject: Hide some symbols from _xxsubinterpreters. (GH-8151) X-Git-Tag: v3.8.0a1~1420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4629c0d531de6b41c9f72b51a44135e9ec634d06;p=thirdparty%2FPython%2Fcpython.git Hide some symbols from _xxsubinterpreters. (GH-8151) --- diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index ce243fe30bb5..8567e4fd970c 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;