aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-14 16:55:04 +0000
committerPierre Muller <muller@sourceware.org>2011-03-14 16:55:04 +0000
commit2021ad3a8c483c6dbd58652c9d72777712472fe7 (patch)
treef0272cc316f96800c87d1e7f185a2a1bc1d07aeb /gdb/varobj.c
parent7371cf6d8db5a0c04550fc95b1acc87857ac348c (diff)
downloadgdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.zip
gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.tar.gz
gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.tar.bz2
Fix ARI warning about function names in first column.
Put prototype declaration on same line as return type. * objc-exp.y: Ditto. * p-exp.y: Ditto. * python/py-stopevent.h: Ditto. For long function names, split parameters to allow function name on same line as return type. * solib-pa64.c: Ditto. * varobj.c: Ditto. * varobj.h: Ditto. For long function declaration, use single line. * hppa-tdep.h: Ditto. * inferior.h: Ditto.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 12b0b16..103ee99 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -296,8 +296,9 @@ static int is_root_p (struct varobj *var);
#if HAVE_PYTHON
-static struct varobj *
-varobj_add_child (struct varobj *var, const char *name, struct value *value);
+static struct varobj * varobj_add_child (struct varobj *var,
+ const char *name,
+ struct value *value);
#endif /* HAVE_PYTHON */