summaryrefslogtreecommitdiff
path: root/perlvars.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 /perlvars.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 'perlvars.h')
-rw-r--r--perlvars.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/perlvars.h b/perlvars.h
index bf298c08b0..8ee418f5e2 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -139,12 +139,6 @@ PERLVAR(Gperlio_mutex, perl_mutex) /* Mutex for perlio fd refcounts */
* can be set atomically (ie not a bit field) */
PERLVARI(Gveto_cleanup, int, FALSE) /* exit without cleanup */
-/* dummy variables that hold pointers to both runops functions, thus forcing
- * them *both* to get linked in (useful for Peek.xs, debugging etc) */
-
-PERLVARI(Grunops_std, runops_proc_t, Perl_runops_standard)
-PERLVARI(Grunops_dbg, runops_proc_t, Perl_runops_debug)
-
/*
=for apidoc AmUx|Perl_keyword_plugin_t|PL_keyword_plugin