From 803108ab644ab1ee4bcfb9afb65ccef725c27f01 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 16 Feb 1996 19:24:15 +0000 Subject: [PATCH] * sparc.h (sparc_opcode_lookup_arch) Make return type in declaration consistent with return type in definition. --- include/opcode/ChangeLog | 5 +++++ include/opcode/sparc.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 54678d61c58..9b6579d0183 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 * i386.h (i386_optab): Remove Data32 from pushf and popf. diff --git a/include/opcode/sparc.h b/include/opcode/sparc.h index 948f2ffb8dc..f5713baa824 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. */ -- 2.30.2