From: Jeff Law Date: Fri, 16 Feb 1996 19:24:15 +0000 (+0000) Subject: * sparc.h (sparc_opcode_lookup_arch) Make return type in X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=803108ab644ab1ee4bcfb9afb65ccef725c27f01;p=deliverable%2Fbinutils-gdb.git * sparc.h (sparc_opcode_lookup_arch) Make return type in declaration consistent with return type in definition. --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 54678d61c5..9b6579d018 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 948f2ffb8d..f5713baa82 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. */