aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sparc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-03-15 13:36:28 +0000
committerAlan Modra <amodra@gmail.com>2004-03-15 13:36:28 +0000
commit7bfeee7be23ed74042abf81e7e3b64eb05f8fb62 (patch)
tree70a83b4afc83af3d4101d1ddf9bf735565e3e3f0 /opcodes/sparc-dis.c
parent6f10430691d62918f763003227676dc348351eec (diff)
downloadgdb-7bfeee7be23ed74042abf81e7e3b64eb05f8fb62.zip
gdb-7bfeee7be23ed74042abf81e7e3b64eb05f8fb62.tar.gz
gdb-7bfeee7be23ed74042abf81e7e3b64eb05f8fb62.tar.bz2
* sparc-dis.c (print_insn_sparc): Update getword prototype.
Diffstat (limited to 'opcodes/sparc-dis.c')
-rw-r--r--opcodes/sparc-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c
index c68df38..6f360c6 100644
--- a/opcodes/sparc-dis.c
+++ b/opcodes/sparc-dis.c
@@ -1,6 +1,6 @@
/* Print SPARC instructions.
Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2002, 2003 Free Software Foundation, Inc.
+ 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -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)