mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* gdbtypes.c (init_type): Make 'name' const.
* gdbtypes.h (init_type): Update.
This commit is contained in:
parent
46212e0bb5
commit
748e18ae85
@ -1,3 +1,8 @@
|
||||
2013-01-21 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gdbtypes.c (init_type): Make 'name' const.
|
||||
* gdbtypes.h (init_type): Update.
|
||||
|
||||
2013-01-21 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* buildsym.c (patch_subfile_names): Use set_last_source_file.
|
||||
|
@ -1957,7 +1957,7 @@ allocate_gnat_aux_type (struct type *type)
|
||||
|
||||
struct type *
|
||||
init_type (enum type_code code, int length, int flags,
|
||||
char *name, struct objfile *objfile)
|
||||
const char *name, struct objfile *objfile)
|
||||
{
|
||||
struct type *type;
|
||||
|
||||
|
@ -1432,7 +1432,7 @@ extern struct type *alloc_type_copy (const struct type *);
|
||||
extern struct gdbarch *get_type_arch (const struct type *);
|
||||
|
||||
/* Helper function to construct objfile-owned types. */
|
||||
extern struct type *init_type (enum type_code, int, int, char *,
|
||||
extern struct type *init_type (enum type_code, int, int, const char *,
|
||||
struct objfile *);
|
||||
|
||||
/* Helper functions to construct architecture-owned types. */
|
||||
|
Loading…
Reference in New Issue
Block a user