aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-08-10 16:32:03 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-08-10 16:32:03 +0000
commit5c36c02b3bdd0ead453ceacd01062d153bcb9545 (patch)
treefd8d965184c2d89bd8e56d9219e3045cbfd6eb67
parenta26f95e77e70b1cd5c5caa109080db79da9693f5 (diff)
downloadgdb-5c36c02b3bdd0ead453ceacd01062d153bcb9545.zip
gdb-5c36c02b3bdd0ead453ceacd01062d153bcb9545.tar.gz
gdb-5c36c02b3bdd0ead453ceacd01062d153bcb9545.tar.bz2
2001-08-10 H.J. Lu <hjl@gnu.org>
* bfd.c (bfd_sprintf_vma): Don't return void. (bfd_fprintf_vma): Likewise.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 67ed4ed..af70681 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-10 H.J. Lu <hjl@gnu.org>
+
+ * bfd.c (bfd_sprintf_vma): Don't return void.
+ (bfd_fprintf_vma): Likewise.
+
2001-08-10 Andreas Jaeger <aj@suse.de>
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
diff --git a/bfd/bfd.c b/bfd/bfd.c
index c663d0e..ae4c76d 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1270,7 +1270,7 @@ bfd_sprintf_vma (abfd, buf, value)
bfd_vma value;
{
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
- return bfd_elf_sprintf_vma (abfd, buf, value);
+ bfd_elf_sprintf_vma (abfd, buf, value);
sprintf_vma (buf, value);
}
@@ -1281,6 +1281,6 @@ bfd_fprintf_vma (abfd, stream, value)
bfd_vma value;
{
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
- return bfd_elf_fprintf_vma (abfd, stream, value);
+ bfd_elf_fprintf_vma (abfd, stream, value);
fprintf_vma ((FILE *) stream, value);
}