Make infpy_thread_from_thread_handle static
authorTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 22:23:52 +0000 (16:23 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 22:23:52 +0000 (16:23 -0600)
I noticed that infpy_thread_from_thread_handle is not static, but
should be.  This patch changes it.

gdb/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

* python/py-inferior.c (infpy_thread_from_thread_handle): Now
static.

gdb/ChangeLog
gdb/python/py-inferior.c

index f110b6484fbccdc36c69fdb352b82e79c0ba89c1..931842bf9e32b610ae64b4ef84d06742c62441e2 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-13  Tom Tromey  <tom@tromey.com>
+
+       * python/py-inferior.c (infpy_thread_from_thread_handle): Now
+       static.
+
 2018-09-13  Tom Tromey  <tom@tromey.com>
 
        * exec.c (try_open_exec_file): Use std::string.
index 727a8d2f3063298dfc938919f3ee4f55fd72713c..6db3df412eb70fafd5ccf2d014e3a76fec1a5932 100644 (file)
@@ -831,7 +831,7 @@ infpy_is_valid (PyObject *self, PyObject *args)
 /* Implementation of gdb.Inferior.thread_from_thread_handle (self, handle)
                         ->  gdb.InferiorThread.  */
 
-PyObject *
+static PyObject *
 infpy_thread_from_thread_handle (PyObject *self, PyObject *args, PyObject *kw)
 {
   PyObject *handle_obj, *result;
This page took 0.030849 seconds and 4 git commands to generate.