summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-01 16:43:22 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-01 16:47:07 +0000
commit879d0c7269cae2ffd414e7e03bcd3bc03ba587d3 (patch)
treedd2ef9b59739f8a8dca35e041a72286886d57ac2 /embed.h
parente4eea5780a2bbeecb73ada4fbd62b3616735d968 (diff)
downloadperl-879d0c7269cae2ffd414e7e03bcd3bc03ba587d3.tar.gz
Remove Perl_pmflag() from the public API, and mark it as deprecated.
regcomp.c stopped using it before 5.10, leaving only toke.c. The only code on CPAN that uses it is copies of regcomp.c. Replace it with a static function, with a cleaner interface.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index 58e36ee994..8012c5e9c3 100644
--- a/embed.h
+++ b/embed.h
@@ -695,7 +695,6 @@
#define pidgone S_pidgone
#endif
#endif
-#define pmflag Perl_pmflag
#ifdef PERL_CORE
#define pmruntime Perl_pmruntime
#endif
@@ -3063,7 +3062,6 @@
#define pidgone(a,b) S_pidgone(aTHX_ a,b)
#endif
#endif
-#define pmflag(a,b) Perl_pmflag(aTHX_ a,b)
#ifdef PERL_CORE
#define pmruntime(a,b,c) Perl_pmruntime(aTHX_ a,b,c)
#endif