diff options
author | Pedro Alves <palves@redhat.com> | 2017-10-11 12:47:25 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-10-11 12:47:25 +0100 |
commit | 8f314ad58ec824ce6c8467af29f11583f79a80ea (patch) | |
tree | 42fe65565cdcc1a559f77d8b244166fa0503136f /bfd/ChangeLog | |
parent | 04914e3707e210a071b3af3c52cc5e5b2ad41a61 (diff) | |
download | gdb-8f314ad58ec824ce6c8467af29f11583f79a80ea.zip gdb-8f314ad58ec824ce6c8467af29f11583f79a80ea.tar.gz gdb-8f314ad58ec824ce6c8467af29f11583f79a80ea.tar.bz2 |
Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others)
Building bfd/ for DJGPP, I see:
../../src/bfd/bfd.c:642:1: error: conflicting types for '_doprnt'
_doprnt (FILE *stream, const char *format, va_list ap)
^~~~~~~
In file included from ../../src/bfd/sysdep.h:37:0,
from ../../src/bfd/bfd.c:367:
/usr/lib64/gcc/i586-pc-msdosdjgpp/6.1.0/include-fixed/stdio.h:171:5: note: previous declaration of '_doprnt' was here
int _doprnt(const char *_fmt, va_list _args, FILE *_f);
^~~~~~~
Possible fixes the build on other systems too -- _doprnt was/is an
exported symbol on old Unix/BSD systems too.
bfd/ChangeLog:
2017-10-11 Pedro Alves <palves@redhat.com>
* bfd.c (_doprnt): Rename to ...
(_bfd_doprnt): ... this.
(error_handler_internal): Adjust.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 52ff647..82bcbf2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2017-10-11 Pedro Alves <palves@redhat.com> + + * bfd.c (_doprnt): Rename to ... + (_bfd_doprnt): ... this. + (error_handler_internal): Adjust. + 2017-10-10 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_check_relocs): Set GOT refcount to 1 |