diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-03-23 08:42:58 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-03-23 08:42:58 +0100 |
commit | f596b03f555fa4e473bd3fbeb0d7b6662883485b (patch) | |
tree | 720f311bbd2634568820155d4b466dbc58c0c303 /bfd/dwarf2.c | |
parent | 12af5ebd820425e8ad843a1dac687a2fffc4a2e3 (diff) | |
download | gdb-f596b03f555fa4e473bd3fbeb0d7b6662883485b.zip gdb-f596b03f555fa4e473bd3fbeb0d7b6662883485b.tar.gz gdb-f596b03f555fa4e473bd3fbeb0d7b6662883485b.tar.bz2 |
bfd: avoid "shadowing" of glibc function name
Old enough glibc has an (unguarded) declaration of index() in string.h,
which triggers a "shadows a global declaration" warning.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 9f895b1..dbaec40 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1172,7 +1172,7 @@ is_str_attr (enum dwarf_form form) } static const char * -read_indexed_string (bfd_uint64_t index ATTRIBUTE_UNUSED, +read_indexed_string (bfd_uint64_t idx ATTRIBUTE_UNUSED, struct comp_unit * unit ATTRIBUTE_UNUSED) { /* FIXME: Add support for indexed strings. */ |