aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-lazy-string.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-01 21:06:54 +0000
committerPedro Alves <palves@redhat.com>2012-03-01 21:06:54 +0000
commit49a8461db86081af4f76289427c673ff302dc1fd (patch)
treec6e77ab82cf7a4715a3a7089d3f132dcf74e5e2a /gdb/python/py-lazy-string.c
parent9079102fe5b2288e029744e2deb3e96891fe1b92 (diff)
downloadgdb-49a8461db86081af4f76289427c673ff302dc1fd.zip
gdb-49a8461db86081af4f76289427c673ff302dc1fd.tar.gz
gdb-49a8461db86081af4f76289427c673ff302dc1fd.tar.bz2
2012-03-01 Pedro Alves <palves@redhat.com>
* python/py-breakpoint.c: Include python.h. * python/py-continueevent.c (create_continue_event_object): Make static. * python/py-lazy-string.c (stpy_get_type): Make static. * python/py-newobjfileevent.c (create_new_objfile_event_object): Make static. * python/py-utils.c (unicode_to_target_python_string): Make static. * python/py-value.c: Include python.h.
Diffstat (limited to 'gdb/python/py-lazy-string.c')
-rw-r--r--gdb/python/py-lazy-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c
index 11048b3..3c90829 100644
--- a/gdb/python/py-lazy-string.c
+++ b/gdb/python/py-lazy-string.c
@@ -84,7 +84,7 @@ stpy_get_length (PyObject *self, void *closure)
return PyLong_FromLong (self_string->length);
}
-PyObject *
+static PyObject *
stpy_get_type (PyObject *self, void *closure)
{
lazy_string_object *str_obj = (lazy_string_object *) self;