summaryrefslogtreecommitdiff
path: root/xsutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xsutils.c')
-rw-r--r--xsutils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xsutils.c b/xsutils.c
index 94d765243c..86fb0aae6a 100644
--- a/xsutils.c
+++ b/xsutils.c
@@ -43,11 +43,11 @@ PERL_XS_EXPORT_C void XS_attributes_bootstrap(pTHX_ CV *cv);
* version checks in these bootstrap calls are optional.
*/
+static const char file[] = __FILE__;
+
void
Perl_boot_core_xsutils(pTHX)
{
- const char file[] = __FILE__;
-
newXS("attributes::bootstrap", XS_attributes_bootstrap, file);
}
@@ -162,7 +162,6 @@ XS(XS_attributes_bootstrap)
{
dVAR;
dXSARGS;
- const char file[] = __FILE__;
if( items > 1 )
Perl_croak(aTHX_ "Usage: attributes::bootstrap $module");