From: Rafael Garcia-Suarez Date: Wed, 9 Nov 2005 10:31:35 +0000 (+0000) Subject: Don't declare a function inside another function X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d324d6dee98ad82ee3a3d8b65c78b5a598fa817e;p=p5sagit%2Fp5-mst-13.2.git Don't declare a function inside another function p4raw-id: //depot/perl@26057 --- diff --git a/perl.c b/perl.c index 40c86c2..3322ff2 100644 --- a/perl.c +++ b/perl.c @@ -138,9 +138,9 @@ static I32 read_e_script(pTHX_ int idx, SV *buf_sv, int maxlen); #endif #ifndef NO_MATHOMS -/* This reference ensure that the mathoms are linked with perl */ +/* This reference ensures that the mathoms are linked with perl */ +extern void Perl_mathoms(); void Perl_mathoms_ref() { - extern void Perl_mathoms(); Perl_mathoms(); } #endif