This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tidy bfd_get, bfd_put.


On Mon, Mar 15, 2004 at 10:50:11PM +1030, Alan Modra wrote:
> Tidies low level byte/word access functions.  Preparation for a further
> patch..

Missed committing this one.

	* sparc-dis.c (print_insn_sparc): Update getword prototype.

Index: opcodes/sparc-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/sparc-dis.c,v
retrieving revision 1.8
diff -u -p -r1.8 sparc-dis.c
--- opcodes/sparc-dis.c	29 Jan 2003 12:51:57 -0000	1.8
+++ opcodes/sparc-dis.c	15 Mar 2004 13:03:03 -0000
@@ -224,7 +224,7 @@ print_insn_sparc (memaddr, info)
   static int opcodes_initialized = 0;
   /* bfd mach number of last call.  */
   static unsigned long current_mach = 0;
-  bfd_vma (*getword) PARAMS ((const unsigned char *));
+  bfd_vma (*getword) (const void *);
 
   if (!opcodes_initialized
       || info->mach != current_mach)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]