]> granicus.if.org Git - python/commitdiff
Don't export pending_threadfunc from _testcapi. (GH-8075)
authorBenjamin Peterson <benjamin@python.org>
Wed, 4 Jul 2018 05:30:56 +0000 (22:30 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 05:30:56 +0000 (22:30 -0700)
Modules/_testcapimodule.c

index 3086aab4063d427f20f656d075ec695559d0377f..41d059b2e48a605eba8b2ea08f5e2d960c6b3b41 100644 (file)
@@ -2429,7 +2429,8 @@ static int _pending_callback(void *arg)
 /* The following requests n callbacks to _pending_callback.  It can be
  * run from any python thread.
  */
-PyObject *pending_threadfunc(PyObject *self, PyObject *arg)
+static PyObject *
+pending_threadfunc(PyObject *self, PyObject *arg)
 {
     PyObject *callable;
     int r;