From 49a8461db86081af4f76289427c673ff302dc1fd Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 1 Mar 2012 21:06:54 +0000 Subject: 2012-03-01 Pedro Alves * 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. --- gdb/python/py-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/py-utils.c') diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index bf50e37..d5d0e43 100644 --- a/gdb/python/py-utils.c +++ b/gdb/python/py-utils.c @@ -139,7 +139,7 @@ unicode_to_target_string (PyObject *unicode_str) object converted to the target's charset. If an error occurs during the conversion, NULL will be returned and a python exception will be set. */ -PyObject * +static PyObject * unicode_to_target_python_string (PyObject *unicode_str) { return unicode_to_encoded_python_string (unicode_str, -- cgit v1.1