From 0c72ed4ca21e7a9f78f19179584f3886bf463689 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 9 Jun 2016 15:07:55 -0600 Subject: 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 * python/python.c (gdbpy_parameter): Now static. * python/python-internal.h (gdbpy_parameter): Don't declare. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index c177efe..3a272a9 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; -- cgit v1.1