]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: avoid "shadowing" of glibc function name
authorJan Beulich <jbeulich@suse.com>
Tue, 23 Mar 2021 07:42:58 +0000 (08:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 23 Mar 2021 07:42:58 +0000 (08:42 +0100)
commitf596b03f555fa4e473bd3fbeb0d7b6662883485b
tree720f311bbd2634568820155d4b466dbc58c0c303
parent12af5ebd820425e8ad843a1dac687a2fffc4a2e3
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.
bfd/ChangeLog
bfd/dwarf2.c