diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 16:32:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 16:32:03 +0000 |
commit | 5c36c02b3bdd0ead453ceacd01062d153bcb9545 (patch) | |
tree | fd8d965184c2d89bd8e56d9219e3045cbfd6eb67 | |
parent | a26f95e77e70b1cd5c5caa109080db79da9693f5 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/bfd.c | 4 |
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 @@ -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); } |