aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-11-10 01:19:47 +0000
committerKevin Buettner <kevinb@redhat.com>2000-11-10 01:19:47 +0000
commit1669605fa37c222cbce9fa3a1e56feb69c2a7b74 (patch)
tree4ad9b6e524f26ab2b76425808932db5ec9e8d175 /gdb/varobj.c
parente2a44558ad8bd781b67bb9a9bf5a5a9519f8bbf9 (diff)
downloadgdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.zip
gdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.tar.gz
gdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.tar.bz2
Protoization.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c8
1 files changed, 2 insertions, 6 deletions
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;