aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}