summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-05-09 11:36:09 +0000
committerAlan Modra <amodra@bigpond.net.au>2003-05-09 11:36:09 +0000
commit69a0ee9b7ee3eb52775d88762528f8698d9dc1aa (patch)
tree87f10d20b0b580b94e6c730ccce41d69a06f121f
parentf92075730ccc2c3636e499da568baba7a6fd6109 (diff)
downloadgdb-69a0ee9b7ee3eb52775d88762528f8698d9dc1aa.tar.gz
* xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on
gen_num_opcodes_fn return type.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/xtensa-isa-internal.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e8a9dc30f3f..b88ca788078 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-09 Alan Modra <amodra@bigpond.net.au>
+
+ * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on
+ gen_num_opcodes_fn return type.
+
2003-05-07 Jason Merrill <jason@redhat.com>
* hashtab.h (iterative_hash): Prototype.
diff --git a/include/xtensa-isa-internal.h b/include/xtensa-isa-internal.h
index d2244c510a5..7f221eae48e 100644
--- a/include/xtensa-isa-internal.h
+++ b/include/xtensa-isa-internal.h
@@ -104,7 +104,7 @@ typedef struct xtensa_isa_internal_struct
typedef struct xtensa_isa_module_struct
{
- const int (*get_num_opcodes_fn) (void);
+ int (*get_num_opcodes_fn) (void);
xtensa_opcode_internal **(*get_opcodes_fn) (void);
int (*decode_insn_fn) (const xtensa_insnbuf);
struct config_struct *(*get_config_table_fn) (void);