From: Benjamin Peterson <benjamin@python.org>
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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4629c0d531de6b41c9f72b51a44135e9ec634d06;p=python

Hide some symbols from _xxsubinterpreters. (GH-8151)
---

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;