]> granicus.if.org Git - python/commitdiff
Hide some symbols from _xxsubinterpreters. (GH-8151)
authorBenjamin Peterson <benjamin@python.org>
Sat, 7 Jul 2018 06:28:35 +0000 (23:28 -0700)
committerGitHub <noreply@github.com>
Sat, 7 Jul 2018 06:28:35 +0000 (23:28 -0700)
Modules/_xxsubinterpretersmodule.c

index ce243fe30bb570bb76700666e7917f23cc032dec..8567e4fd970c6a2c7c5703993341ee887cd36cce 100644 (file)
@@ -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;