From af2f0da9b8621f5cc241f5664bcecd0fbd8865b2 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 2 May 2011 15:02:57 +0100 Subject: 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. --- perlvars.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'perlvars.h') 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 -- cgit v1.2.1