diff options
author | Tom Tromey <tom@tromey.com> | 2016-06-09 15:07:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-06-23 20:44:48 -0600 |
commit | 0c72ed4ca21e7a9f78f19179584f3886bf463689 (patch) | |
tree | 6b6a99a7bf6c320ec41879b12be10cc7bd591bdc /gdb/python/python.c | |
parent | 5153607fc679517c0f404807d2d821e547ed0207 (diff) |
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.
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r-- | gdb/python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index c177efe161..3a272a9025 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -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; |