diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-12-11 20:19:39 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-12-11 20:19:39 +0000 |
commit | 321432c0c6c6849c0e924f65422fe4a92b1b6907 (patch) | |
tree | 63db1c1b6dd16fb6ff62189a8200f03dfdb3aecd /gdb/gdbtypes.c | |
parent | a23b6e6a0ad4098759968bf2c666357d5dd08c22 (diff) | |
download | gdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.zip gdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.tar.gz gdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index c9cae4c..293adda 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -416,7 +416,7 @@ address_space_name_to_int (char *space_identifier) /* Identify address space identifier by integer flag as defined in gdbtypes.h -- return the string version of the adress space name. */ -extern char * +const char * address_space_int_to_name (int space_flag) { struct gdbarch *gdbarch = current_gdbarch; |