ld/plugins: avoid shadowing a C library symbol
authorJan Beulich <jbeulich@novell.com>
Tue, 25 Jun 2019 10:02:23 +0000 (12:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 10:02:23 +0000 (12:02 +0200)
commit8e5cb9a54e156ba24a439aefa7b35e53b4cb0374
tree82a1b310fa0a283f99bdd0726b19ce244449e4ea
parentab9f654ca3f1222f63533aabfffc223ae1fc69dc
ld/plugins: avoid shadowing a C library symbol

With my (oldish) gcc/glibc combination I'm seeing

.../ld/plugin.c: In function \91get_lto_kind\92:
.../ld/plugin.c:664: error: declaration of \91index\92 shadows a global declaration
/usr/include/string.h:487: error: shadowed declaration is here
.../ld/plugin.c: In function \91get_lto_resolution\92:
.../ld/plugin.c:685: error: declaration of \91index\92 shadows a global declaration
/usr/include/string.h:487: error: shadowed declaration is here
.../ld/plugin.c: In function \91get_lto_visibility\92:
.../ld/plugin.c:711: error: declaration of \91index\92 shadows a global declaration
/usr/include/string.h:487: error: shadowed declaration is here
ld/ChangeLog
ld/plugin.c