aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-inferior.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-13 16:23:52 -0600
committerTom Tromey <tom@tromey.com>2018-09-13 16:23:52 -0600
commit7d2215128b84d9dec4a264021427343d895fdc6d (patch)
tree3de1fc79da8ab53f7e076e01c071144953aa4ab5 /gdb/python/py-inferior.c
parent97e67fc62045723db7af6d323ce9c428666ab6f5 (diff)
downloadgdb-7d2215128b84d9dec4a264021427343d895fdc6d.zip
gdb-7d2215128b84d9dec4a264021427343d895fdc6d.tar.gz
gdb-7d2215128b84d9dec4a264021427343d895fdc6d.tar.bz2
Make infpy_thread_from_thread_handle static
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.
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r--gdb/python/py-inferior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c
index 727a8d2..6db3df4 100644
--- a/gdb/python/py-inferior.c
+++ b/gdb/python/py-inferior.c
@@ -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;