* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)

(ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of
	``char *'' for return and parameter types.
	* gdbarch.h, gdbarch.c: Regenerate.
	* gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change
	return type from ``char *'' to ``const char *''.
	* c-typeprint.c (c_type_print_modifier): Make ``address_space_id''
	const.
This commit is contained in:
Kevin Buettner
2002-12-11 20:19:39 +00:00
parent a23b6e6a0a
commit 321432c0c6
7 changed files with 22 additions and 11 deletions

View File

@@ -1096,7 +1096,7 @@ extern void replace_type (struct type *, struct type *);
extern int address_space_name_to_int (char *);
extern char *address_space_int_to_name (int);
extern const char *address_space_int_to_name (int);
extern struct type *make_type_with_address_space (struct type *type,
int space_identifier);