diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
commit | 7a292a7adf506b866905b06b3024c0fd411c4583 (patch) | |
tree | 5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /gdb/gdbtypes.c | |
parent | 1996fae84682e8ddd146215dd2959ad1ec924c09 (diff) | |
download | fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.zip fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.bz2 |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 0393462..ca9764b 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 () |