diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:07:02 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:07:02 +0000 |
commit | 32df4b651dd078971312bc9b93ecce9dff1a0a5d (patch) | |
tree | 84b26a63993646e637915820bdaf3e331c857bbc /gdb/gdbtypes.h | |
parent | 076d987f482e45d3707fec51726f764d00b08d98 (diff) | |
download | gdb-32df4b651dd078971312bc9b93ecce9dff1a0a5d.tar.gz |
* gdbtypes.c (init_type): Make 'name' const.
* gdbtypes.h (init_type): Update.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 8b340a32bca..0ca7a87dae7 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -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. */ |