diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-11-10 01:19:47 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-11-10 01:19:47 +0000 |
commit | 7fc5dd65ab69c3dd52b6bb93fc3f51cf5e06707b (patch) | |
tree | 91011f0103bf0f702261c0ffe1692f0d4d02de4d /gdb/varobj.c | |
parent | af21058b0321e272e6d0ad2877f402b286b0fb18 (diff) | |
download | gdb-7fc5dd65ab69c3dd52b6bb93fc3f51cf5e06707b.tar.gz |
Protoization.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 1ebf21c17e7..799558b8445 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; |