summaryrefslogtreecommitdiff
path: root/opcodes/dis-buf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-09 14:52:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-09 14:52:56 +0000
commitdcd2d853e6a4aade0332f671b60cf13dbc6688de (patch)
treec88505b104e8e9528d373f6625ba18bff441f1cc /opcodes/dis-buf.c
parentcf8248e1e9c0cd8f3d4a72f2af8c27d94d0e0cbe (diff)
downloadbinutils-redhat-dcd2d853e6a4aade0332f671b60cf13dbc6688de.tar.gz
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.
Diffstat (limited to 'opcodes/dis-buf.c')
-rw-r--r--opcodes/dis-buf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/dis-buf.c b/opcodes/dis-buf.c
index 46ac2f7724..8f846a9b1b 100644
--- a/opcodes/dis-buf.c
+++ b/opcodes/dis-buf.c
@@ -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. */