summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-11-09 15:40:59 +0000
committerNicholas Clark <nick@ccl4.org>2010-11-09 16:19:14 +0000
commit282b29ee4859384c5da0d13a238cc0d52b072e3a (patch)
tree2477a959e9bcf247aa59167a0d73b0b6fc55e17d /embed.h
parentdd56ec38a36f4ba9784fbc0c3d5b53d795977d64 (diff)
downloadperl-282b29ee4859384c5da0d13a238cc0d52b072e3a.tar.gz
Change S_doopen_pm() and S_check_type_and_open() to take an SV parameter.
Previously S_doopen_pm() took a char */STRLEN pair, but it happened that the pointer was always from an SV. So pass the SV directly.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 7f079b7b0f..72cdfc0071 100644
--- a/embed.h
+++ b/embed.h
@@ -1522,7 +1522,7 @@
# endif
# if !defined(PERL_DISABLE_PMC)
# if defined(PERL_IN_PP_CTL_C)
-#define doopen_pm(a,b) S_doopen_pm(aTHX_ a,b)
+#define doopen_pm(a) S_doopen_pm(aTHX_ a)
# endif
# endif
# if !defined(PERL_NO_UTF16_FILTER)