From 5c36c02b3bdd0ead453ceacd01062d153bcb9545 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 10 Aug 2001 16:32:03 +0000 Subject: [PATCH] 2001-08-10 H.J. Lu * bfd.c (bfd_sprintf_vma): Don't return void. (bfd_fprintf_vma): Likewise. --- bfd/ChangeLog | 5 +++++ bfd/bfd.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 67ed4ed703e..af706818293 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 H.J. Lu + + * bfd.c (bfd_sprintf_vma): Don't return void. + (bfd_fprintf_vma): Likewise. + 2001-08-10 Andreas Jaeger * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes diff --git a/bfd/bfd.c b/bfd/bfd.c index c663d0ecd72..ae4c76dfddb 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); } -- 2.30.2