X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fz80-dis.c;h=e30d6383de31cd53239cee04dea4d3376c9359f0;hb=1087441f0712681bf0c30d104870ea299aa326c1;hp=d8e95808e32dc1e2a685417bb69470b94e785003;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/z80-dis.c b/opcodes/z80-dis.c index d8e95808e3..e30d6383de 100644 --- a/opcodes/z80-dis.c +++ b/opcodes/z80-dis.c @@ -1,5 +1,5 @@ /* Print Z80 and R800 instructions - Copyright (C) 2005-2015 Free Software Foundation, Inc. + Copyright (C) 2005-2019 Free Software Foundation, Inc. Contributed by Arnold Metselaar This file is part of the GNU opcodes library. @@ -20,7 +20,7 @@ MA 02110-1301, USA. */ #include "sysdep.h" -#include "dis-asm.h" +#include "disassemble.h" #include struct buffer @@ -130,7 +130,7 @@ prt_rr_nn (struct buffer *buf, disassemble_info * info, char *txt) char mytxt[TXTSIZ]; int rr; - rr = (buf->data[buf->n_fetch - 1] >> 4) & 3; + rr = (buf->data[buf->n_fetch - 1] >> 4) & 3; snprintf (mytxt, TXTSIZ, txt, rr_str[rr]); return prt_nn (buf, info, mytxt); } @@ -314,7 +314,7 @@ struct tab_elt opc_ed[] = }; static int -pref_ed (struct buffer * buf, disassemble_info * info, +pref_ed (struct buffer * buf, disassemble_info * info, char* txt ATTRIBUTE_UNUSED) { struct tab_elt *p;