From 1669605fa37c222cbce9fa3a1e56feb69c2a7b74 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 10 Nov 2000 01:19:47 +0000 Subject: Protoization. --- gdb/varobj.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gdb/varobj.c') diff --git a/gdb/varobj.c b/gdb/varobj.c index 1ebf21c..799558b 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1216,9 +1216,7 @@ uninstall_variable (struct varobj *var) /* Does a child with the name NAME exist in VAR? If so, return its data. If not, return NULL. */ static struct varobj * -child_exists (var, name) - struct varobj *var; /* Parent */ - char *name; /* name of child */ +child_exists (struct varobj *var, char *name) { struct varobj_child *vc; @@ -2156,9 +2154,7 @@ cplus_number_of_children (struct varobj *var) That means we need to descend into all baseclasses and find out how many are there, too. */ static void -cplus_class_num_children (type, children) - struct type *type; - int children[3]; +cplus_class_num_children (struct type *type, int children[3]) { int i; -- cgit v1.1