summaryrefslogtreecommitdiff
path: root/opcodes/m68k-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-05-08 07:22:54 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-05-08 07:22:54 +0000
commit9ca9423d105a222fe29da85455ef9d222190fe91 (patch)
tree6de7eb801b4f78486af7da2d0a23f2fc9c3e179b /opcodes/m68k-dis.c
parent50ec90d3f3fb4df9522364b8671ca8c33368e7d1 (diff)
downloadgdb-9ca9423d105a222fe29da85455ef9d222190fe91.tar.gz
Kill compiler warnings with ATTRIBUTE_UNUSED.
Diffstat (limited to 'opcodes/m68k-dis.c')
-rw-r--r--opcodes/m68k-dis.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c
index 10c461dae59..7f4b1104744 100644
--- a/opcodes/m68k-dis.c
+++ b/opcodes/m68k-dis.c
@@ -1,5 +1,5 @@
/* Print Motorola 68k instructions.
- Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 98, 1999
+ Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify
@@ -151,16 +151,17 @@ fetch_data (info, addr)
/* This function is used to print to the bit-bucket. */
static int
#ifdef __STDC__
-dummy_printer (FILE * file, const char * format, ...)
+dummy_printer (FILE * file ATTRIBUTE_UNUSED,
+ const char * format ATTRIBUTE_UNUSED, ...)
#else
-dummy_printer (file) FILE *file;
+dummy_printer (file) FILE *file ATTRIBUTE_UNUSED;
#endif
{ return 0; }
static void
dummy_print_address (vma, info)
- bfd_vma vma;
- struct disassemble_info *info;
+ bfd_vma vma ATTRIBUTE_UNUSED;
+ struct disassemble_info *info ATTRIBUTE_UNUSED;
{
}