mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Make gdbpy_parameter static
While working on the next patch in this series, I noticed that gdbpy_parameter did not need to be exported. This makes it "static". 2016-06-23 Tom Tromey <tom@tromey.com> * python/python.c (gdbpy_parameter): Now static. * python/python-internal.h (gdbpy_parameter): Don't declare.
This commit is contained in:
parent
5153607fc6
commit
0c72ed4ca2
@ -1,3 +1,8 @@
|
||||
2016-06-23 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* python/python.c (gdbpy_parameter): Now static.
|
||||
* python/python-internal.h (gdbpy_parameter): Don't declare.
|
||||
|
||||
2016-06-23 Tom Tromey <tom@tromey.com>
|
||||
|
||||
PR gdb/16483:
|
||||
|
@ -375,7 +375,6 @@ PyObject *gdbpy_create_ptid_object (ptid_t ptid);
|
||||
PyObject *gdbpy_selected_thread (PyObject *self, PyObject *args);
|
||||
PyObject *gdbpy_selected_inferior (PyObject *self, PyObject *args);
|
||||
PyObject *gdbpy_string_to_argv (PyObject *self, PyObject *args);
|
||||
PyObject *gdbpy_parameter (PyObject *self, PyObject *args);
|
||||
PyObject *gdbpy_parameter_value (enum var_types type, void *var);
|
||||
char *gdbpy_parse_command_name (const char *name,
|
||||
struct cmd_list_element ***base_list,
|
||||
|
@ -554,7 +554,7 @@ gdbpy_parameter_value (enum var_types type, void *var)
|
||||
/* A Python function which returns a gdb parameter's value as a Python
|
||||
value. */
|
||||
|
||||
PyObject *
|
||||
static PyObject *
|
||||
gdbpy_parameter (PyObject *self, PyObject *args)
|
||||
{
|
||||
struct gdb_exception except = exception_none;
|
||||
|
Loading…
Reference in New Issue
Block a user