bfd: Rename real_{ftell, fseek, fopen}
authorPedro Alves <palves@redhat.com>
Fri, 17 Feb 2017 01:26:12 +0000 (01:26 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 17 Feb 2017 01:26:12 +0000 (01:26 +0000)
commitc7c3d11bead272b718bade379e3441ff239bbd16
treea6b92625643c23692755fe0625947b56e5fe82fe
parent4265548c65907f095e887148f61af4813b106737
bfd: Rename real_{ftell, fseek, fopen}

Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

* bfdio.c (real_ftell): Rename to ...
(_bfd_real_ftell): ... this.
(real_fseek): Rename to ...
(_bfd_real_fseek): ... this.
(real_fopen): Rename to ...
(_bfd_real_fopen): ... this.
* libbfd-in.h (real_ftell): Rename to ...
(_bfd_real_ftell): ... this.
(real_fseek): Rename to ...
(_bfd_real_fseek): ... this.
(real_fopen): Rename to ...
(_bfd_real_fopen): ... this.
* cache.c, dwarf2.c, opncls.c: Adjust all callers.
* libbfd.h: Regenerate.
bfd/ChangeLog
bfd/bfdio.c
bfd/cache.c
bfd/dwarf2.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/opncls.c