diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-05-02 17:46:38 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-05-02 17:46:38 +0000 |
commit | a4c98449d8cced0a413461ab2ba6c8c9f74b5530 (patch) | |
tree | d3b9936b0583fb7be25db8a4d904a8768b344f66 /xsutils.c | |
parent | 885ffcb307023fbe2047bd0c0e016f18bebc1fb3 (diff) | |
download | perl-a4c98449d8cced0a413461ab2ba6c8c9f74b5530.tar.gz |
*static* pointers to newXSUB(), dammit!
p4raw-id: //depot/perl@28066
Diffstat (limited to 'xsutils.c')
-rw-r--r-- | xsutils.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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"); |