summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-02 15:02:57 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-12 16:15:22 +0200
commitaf2f0da9b8621f5cc241f5664bcecd0fbd8865b2 (patch)
treee05689bfd8d8ef2202b400060568eb2cca0c0821 /perlapi.h
parent724cf8d623675450a9b7be794b6b3917972e83f8 (diff)
downloadperl-af2f0da9b8621f5cc241f5664bcecd0fbd8865b2.tar.gz
Move PL_runops_{std,dbg} to perl.h, and make them const.
They exist solely to ensure that Perl_runops_standard and Perl_runops_debug are linked in - nothing assigns to either variable, and nothing reads them.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/perlapi.h b/perlapi.h
index 9a82b180d0..a48abed4a7 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -141,10 +141,6 @@ END_EXTERN_C
#define PL_perlio_mutex (*Perl_Gperlio_mutex_ptr(NULL))
#undef PL_ppaddr
#define PL_ppaddr (*Perl_Gppaddr_ptr(NULL))
-#undef PL_runops_dbg
-#define PL_runops_dbg (*Perl_Grunops_dbg_ptr(NULL))
-#undef PL_runops_std
-#define PL_runops_std (*Perl_Grunops_std_ptr(NULL))
#undef PL_sh_path
#define PL_sh_path (*Perl_Gsh_path_ptr(NULL))
#undef PL_sig_defaulting