diff options
author | Pedro Alves <palves@redhat.com> | 2017-02-17 01:26:12 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-02-17 01:26:12 +0000 |
commit | c7c3d11bead272b718bade379e3441ff239bbd16 (patch) | |
tree | a6b92625643c23692755fe0625947b56e5fe82fe /bfd/libbfd.h | |
parent | 4265548c65907f095e887148f61af4813b106737 (diff) | |
download | gdb-c7c3d11bead272b718bade379e3441ff239bbd16.zip gdb-c7c3d11bead272b718bade379e3441ff239bbd16.tar.gz gdb-c7c3d11bead272b718bade379e3441ff239bbd16.tar.bz2 |
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.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 3ea747d..f19b0db 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -787,9 +787,9 @@ extern void _bfd_abort /* Manipulate a system FILE but using BFD's "file_ptr", rather than the system "off_t" or "off64_t", as the offset. */ -extern file_ptr real_ftell (FILE *file); -extern int real_fseek (FILE *file, file_ptr offset, int whence); -extern FILE *real_fopen (const char *filename, const char *modes); +extern file_ptr _bfd_real_ftell (FILE *file); +extern int _bfd_real_fseek (FILE *file, file_ptr offset, int whence); +extern FILE *_bfd_real_fopen (const char *filename, const char *modes); /* List of supported target vectors, and the default vector (if bfd_default_vector[0] is NULL, there is no default). */ |