This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
prototypes opcodes/
- To: binutils at sourceware dot cygnus dot com
- Subject: prototypes opcodes/
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Fri, 10 Aug 2001 00:19:06 +0930
opcodes/ChangeLog
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.
Applying to mainline.
--
Alan Modra
Index: opcodes/dis-buf.c
===================================================================
RCS file: /cvs/src/src/opcodes/dis-buf.c,v
retrieving revision 1.6
diff -u -p -r1.6 dis-buf.c
--- dis-buf.c 2001/03/13 22:58:34 1.6
+++ dis-buf.c 2001/08/09 13:55:54
@@ -80,10 +80,13 @@ generic_print_address (addr, info)
(*info->fprintf_func) (info->stream, "0x%s", buf);
}
+#if 0
/* Just concatenate the address as hex. This is included for
completeness even though both GDB and objdump provide their own (to
print symbolic addresses). */
+void generic_strcat_address PARAMS ((bfd_vma, char *, int));
+
void
generic_strcat_address (addr, buf, len)
bfd_vma addr;
@@ -102,6 +105,7 @@ generic_strcat_address (addr, buf, len)
}
return;
}
+#endif
/* Just return the given address. */