diff options
author | Jeff Law <law@redhat.com> | 1996-02-16 19:24:15 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-02-16 19:24:15 +0000 |
commit | 803108ab644ab1ee4bcfb9afb65ccef725c27f01 (patch) | |
tree | c611838fabd0c59c2dfe102a10e31bd6c321663b /include | |
parent | 4c70373f8496ebd1e9958509492a56237b99ea76 (diff) | |
download | gdb-803108ab644ab1ee4bcfb9afb65ccef725c27f01.zip gdb-803108ab644ab1ee4bcfb9afb65ccef725c27f01.tar.gz gdb-803108ab644ab1ee4bcfb9afb65ccef725c27f01.tar.bz2 |
* sparc.h (sparc_opcode_lookup_arch) Make return type in
declaration consistent with return type in definition.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/sparc.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 54678d6..9b6579d 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 16 12:23:34 1996 Jeffrey A Law (law@cygnus.com) + + * sparc.h (sparc_opcode_lookup_arch) Make return type in + declaration consistent with return type in definition. + Wed Feb 14 18:14:11 1996 Alan Modra <alan@spri.levels.unisa.edu.au> * i386.h (i386_optab): Remove Data32 from pushf and popf. diff --git a/include/opcode/sparc.h b/include/opcode/sparc.h index 948f2ff..f5713ba 100644 --- a/include/opcode/sparc.h +++ b/include/opcode/sparc.h @@ -29,10 +29,12 @@ Boston, MA 02111-1307, USA. */ /* List of instruction sets variations. These values are such that each element is either a superset of a - preceding one or they conflict in which case SPARC_OPCODE_CONFLICT_P + preceding each one or they conflict in which case SPARC_OPCODE_CONFLICT_P returns non-zero. The values are indices into `sparc_opcode_archs' defined in sparc-opc.c. Don't change this without updating sparc-opc.c. */ +/* ??? May wish to allow for anonymous architectures for variants that have + a common but unnamed subset. */ enum sparc_opcode_arch_val { SPARC_OPCODE_ARCH_V6 = 0, @@ -57,7 +59,7 @@ struct sparc_opcode_arch { extern const struct sparc_opcode_arch sparc_opcode_archs[]; -extern enum sparc_opcode_arch_val sparc_opcode_lookup_arch (); +extern const enum sparc_opcode_arch_val sparc_opcode_lookup_arch (); /* Non-zero if ARCH1 conflicts with ARCH2. */ |