2003-06-03 Michael Snyder <msnyder@redhat.com>
[binutils-gdb.git] / opcodes / w65-dis.c
index c9771d5be134ce9e4131bdc8bb803920bb05e7bc..3f2affa8082cb6b15f6700dbfdbab200f2fbf041 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble WDC 65816 instructions.
-   Copyright (C) 1995, 1998, 2000 Free Software Foundation, Inc.
+   Copyright 1995, 1998, 2000, 2001, 2002 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
@@ -26,6 +26,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 static fprintf_ftype fpr;
 static void *stream;
 static struct disassemble_info *local_info;
+
+static void print_operand PARAMS ((int, char *, unsigned int *));
+
 #if 0
 static char *lname[] = { "r0","r1","r2","r3","r4","r5","r6","r7","s0" };
 
@@ -81,7 +84,7 @@ print_insn_w65 (memaddr, info)
 {
   int status = 0;
   unsigned char insn[4];
-  register struct opinfo *op;
+  const struct opinfo *op;
   int i;
   int X = 0;
   int M = 0;