From 419f8ba5087ee6baa2281aa8c355fc66a0fe3851 Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Mon, 26 Nov 2018 12:14:51 -0500 Subject: Rename global variable to prevent confusion with local Per: https://lgtm.com/projects/g/Perl/perl5/alerts/?mode=tree&ruleFocus=2157860312 --- universal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'universal.c') diff --git a/universal.c b/universal.c index 2262939b8d..c1b5dd4b14 100644 --- a/universal.c +++ b/universal.c @@ -995,7 +995,7 @@ struct xsub_details { const char *proto; }; -static const struct xsub_details details[] = { +static const struct xsub_details these_details[] = { {"UNIVERSAL::isa", XS_UNIVERSAL_isa, NULL}, {"UNIVERSAL::can", XS_UNIVERSAL_can, NULL}, {"UNIVERSAL::DOES", XS_UNIVERSAL_DOES, NULL}, @@ -1075,8 +1075,8 @@ void Perl_boot_core_UNIVERSAL(pTHX) { static const char file[] = __FILE__; - const struct xsub_details *xsub = details; - const struct xsub_details *end = C_ARRAY_END(details); + const struct xsub_details *xsub = these_details; + const struct xsub_details *end = C_ARRAY_END(these_details); do { newXS_flags(xsub->name, xsub->xsub, file, xsub->proto, 0); -- cgit v1.2.1