diff options
author | Jeff Law <law@redhat.com> | 1994-08-01 08:46:51 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-08-01 08:46:51 +0000 |
commit | f81eee9deb771ebbae309c2f09dc9380de423903 (patch) | |
tree | 7589e6523af42ec423868c9f7f943a2a6422aa51 /gdb/hppa-tdep.c | |
parent | 363d6150823d34af571185a0016acd614047d604 (diff) | |
download | binutils-gdb-f81eee9deb771ebbae309c2f09dc9380de423903.tar.gz |
* hppa-tdep.c (compare_unwind_entries): Add "const" to both
argument types to shut up GCC.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index e1576c07755..b7e958b919e 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -68,8 +68,8 @@ static int inst_saves_gr PARAMS ((unsigned long)); static int inst_saves_fr PARAMS ((unsigned long)); static int pc_in_interrupt_handler PARAMS ((CORE_ADDR)); static int pc_in_linker_stub PARAMS ((CORE_ADDR)); -static int compare_unwind_entries PARAMS ((struct unwind_table_entry *, - struct unwind_table_entry *)); +static int compare_unwind_entries PARAMS ((const struct unwind_table_entry *, + const struct unwind_table_entry *)); static void read_unwind_info PARAMS ((struct objfile *)); static void internalize_unwinds PARAMS ((struct objfile *, struct unwind_table_entry *, @@ -262,8 +262,8 @@ extract_17 (word) static int compare_unwind_entries (a, b) - struct unwind_table_entry *a; - struct unwind_table_entry *b; + const struct unwind_table_entry *a; + const struct unwind_table_entry *b; { if (a->region_start > b->region_start) return 1; |