diff options
author | H.J. Lu <hjl@lucon.org> | 2001-08-10 16:32:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-08-10 16:32:03 +0000 |
commit | 623efb109784f89d6ca5f167f6cc35e968706756 (patch) | |
tree | d1688b86636c34b7fcdd66889382ce0caf542b5b /bfd | |
parent | 3eade0c7abb08b2d45191c464d0bb224aa4b5f91 (diff) | |
download | gdb-623efb109784f89d6ca5f167f6cc35e968706756.tar.gz |
2001-08-10 H.J. Lu <hjl@gnu.org>
* bfd.c (bfd_sprintf_vma): Don't return void.
(bfd_fprintf_vma): Likewise.
Diffstat (limited to 'bfd')
-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 67ed4ed703e..af706818293 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 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); } |