forked from Imagelibrary/binutils-gdb
* gdbtypes.h (make_function_type): Remove OBJFILE parameter.
* gdbtypes.c (make_function_type): Remove OBJFILE parameter. (lookup_function_type): Update call. * stabsread.c (read_type): Likewise. * dwarf2read.c (read_subroutine_type): Use lookup_function_type instead of make_function_type. * jv-lang.c (type_from_class): Likewise. Do not allocate types on the fake "dynamics" obstack.
This commit is contained in:
@@ -1186,8 +1186,7 @@ extern struct type *make_pointer_type (struct type *, struct type **);
|
||||
|
||||
extern struct type *lookup_pointer_type (struct type *);
|
||||
|
||||
extern struct type *make_function_type (struct type *, struct type **,
|
||||
struct objfile *);
|
||||
extern struct type *make_function_type (struct type *, struct type **);
|
||||
|
||||
extern struct type *lookup_function_type (struct type *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user