summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-09 10:31:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-09 10:31:35 +0000
commitd324d6dee98ad82ee3a3d8b65c78b5a598fa817e (patch)
tree0f8d00c8a9b68545c9b13654594a4633e431a676 /perl.c
parentd13b798dc4340d75284a2395ea5d4d6d3f29f9d8 (diff)
downloadperl-d324d6dee98ad82ee3a3d8b65c78b5a598fa817e.tar.gz
Don't declare a function inside another function
p4raw-id: //depot/perl@26057
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 40c86c2af9..3322ff2e9c 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