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.
This commit is contained in:
parent
97e67fc620
commit
7d2215128b
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue