* gdbtypes.c (init_type): Make 'name' const.

* gdbtypes.h (init_type): Update.
This commit is contained in:
Tom Tromey 2013-01-21 18:07:03 +00:00
parent 46212e0bb5
commit 748e18ae85
3 changed files with 7 additions and 2 deletions

View 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;