summaryrefslogtreecommitdiffstats
path: root/opcodes/ip2k-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-15 12:52:03 +0000
committerNick Clifton <nickc@redhat.com>2005-02-15 12:52:03 +0000
commitbf143b25e9fc72d76625cbc229ef804b9ef42bae (patch)
tree0800c782c2d777a4039d7601001745a471c76a3b /opcodes/ip2k-dis.c
parent7b347e436d891e39488be78a0e7fccb51de7b3c0 (diff)
downloadppe42-binutils-bf143b25e9fc72d76625cbc229ef804b9ef42bae.tar.gz
ppe42-binutils-bf143b25e9fc72d76625cbc229ef804b9ef42bae.zip
Fix compile time warning messages
Diffstat (limited to 'opcodes/ip2k-dis.c')
-rw-r--r--opcodes/ip2k-dis.c23
1 files changed, 4 insertions, 19 deletions
diff --git a/opcodes/ip2k-dis.c b/opcodes/ip2k-dis.c
index 00e764ccce..3abcd952fb 100644
--- a/opcodes/ip2k-dis.c
+++ b/opcodes/ip2k-dis.c
@@ -4,7 +4,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
- the resultant file is machine generated, cgen-dis.in isn't
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005
Free Software Foundation, Inc.
This file is part of the GNU Binutils and GDB, the GNU debugger.
@@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc.,
static void print_normal
(CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int);
static void print_address
- (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int);
+ (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED;
static void print_keyword
- (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int);
+ (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED;
static void print_insn_normal
(CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int);
static int print_insn
(CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned);
static int default_print_insn
- (CGEN_CPU_DESC, bfd_vma, disassemble_info *);
+ (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED;
static int read_insn
(CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *,
unsigned long *);
@@ -66,7 +66,6 @@ static void name PARAMS ((CGEN_CPU_DESC, PTR, long, unsigned int, bfd_vma, int))
PRINT_FUNC_DECL (print_fr);
PRINT_FUNC_DECL (print_dollarhex);
PRINT_FUNC_DECL (print_dollarhex8);
-PRINT_FUNC_DECL (print_dollarhex16);
PRINT_FUNC_DECL (print_dollarhex_addr16h);
PRINT_FUNC_DECL (print_dollarhex_addr16l);
PRINT_FUNC_DECL (print_dollarhex_p);
@@ -158,20 +157,6 @@ print_dollarhex8 (cd, dis_info, value, attrs, pc, length)
}
static void
-print_dollarhex16 (cd, dis_info, value, attrs, pc, length)
- CGEN_CPU_DESC cd ATTRIBUTE_UNUSED;
- PTR dis_info;
- long value;
- unsigned int attrs ATTRIBUTE_UNUSED;
- bfd_vma pc ATTRIBUTE_UNUSED;
- int length ATTRIBUTE_UNUSED;
-{
- disassemble_info *info = (disassemble_info *) dis_info;
-
- (*info->fprintf_func) (info->stream, "$%04x", value);
-}
-
-static void
print_dollarhex_addr16h (cd, dis_info, value, attrs, pc, length)
CGEN_CPU_DESC cd ATTRIBUTE_UNUSED;
PTR dis_info;
OpenPOWER on IntegriCloud