summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>1999-04-26 18:23:13 +0000
committerStan Shebs <shebs@apple.com>1999-04-26 18:23:13 +0000
commit9f89d263d1c0db98f6807281138f97f197f82bce (patch)
tree7f9b131d895f0b5f3d54b6348e12c7c35be93e93 /gdb/gdbtypes.c
parent33573d8115710d3d6f407968b4420282e0422bbc (diff)
downloadgdb-9f89d263d1c0db98f6807281138f97f197f82bce.tar.gz
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 03934623d19..ca9764b1eb9 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -78,6 +78,8 @@ static void print_bit_vector PARAMS ((B_TYPE *, int));
static void print_arg_types PARAMS ((struct type **, int));
static void dump_fn_fieldlists PARAMS ((struct type *, int));
static void print_cplus_stuff PARAMS ((struct type *, int));
+static void virtual_base_list_aux PARAMS ((struct type *dclass));
+
/* Alloc a new type structure and fill it with some defaults. If
OBJFILE is non-NULL, then allocate the space for the type structure
@@ -1719,15 +1721,15 @@ static struct vbase * current_vbase_list = NULL;
Note: the list goes backward, right-to-left. virtual_base_list()
copies the items out in reverse order. */
-struct vbase *
+static void
virtual_base_list_aux (dclass)
- struct type * dclass;
+ struct type * dclass;
{
struct vbase * tmp_vbase;
register int i;
if (TYPE_CODE(dclass) != TYPE_CODE_CLASS)
- return NULL;
+ return;
for (i = 0; i < TYPE_N_BASECLASSES (dclass); i++)
{
@@ -2390,10 +2392,6 @@ rank_one_type (parm, arg)
/* End of functions for overload resolution */
-
-
-#if MAINTENANCE_CMDS
-
static void
print_bit_vector (bits, nbits)
B_TYPE *bits;
@@ -2766,9 +2764,6 @@ recursive_dump_type (type, spaces)
obstack_free (&dont_print_type_obstack, NULL);
}
-#endif /* MAINTENANCE_CMDS */
-
-
static void build_gdbtypes PARAMS ((void));
static void
build_gdbtypes ()