diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-01-29 00:09:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-01-29 00:09:10 +0000 |
commit | d0647d4e83baeaee38f56423fa99ba248e8c0db2 (patch) | |
tree | 7a53736d02067ea7c5ddf028077d0e949d72650f /perl.c | |
parent | 90e5519e3100e145a0051dac121e038bd45695c6 (diff) | |
download | perl-d0647d4e83baeaee38f56423fa99ba248e8c0db2.tar.gz |
Avoid using space to create 2 functions just to force mathoms to be
linked. Instead, force the link via the perl interpreter structure
via a function pointer that gets replaced at run time anyway.
p4raw-id: //depot/perl@26990
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -137,15 +137,6 @@ static I32 read_e_script(pTHX_ int idx, SV *buf_sv, int maxlen); #endif #endif -#ifndef NO_MATHOMS -/* This reference ensures that the mathoms are linked with perl */ -extern void Perl_mathoms(void); -void Perl_mathoms_ref(void); -void Perl_mathoms_ref(void) { - Perl_mathoms(); -} -#endif - static void S_init_tls_and_interp(PerlInterpreter *my_perl) { |