summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-12-27 08:58:19 +0000
committerNicholas Clark <nick@ccl4.org>2010-12-27 08:58:19 +0000
commitfc51b17cb579e8cdaf6e99fdeb80f92379491759 (patch)
treea38a6939058b6f486b2adb927391ba75e2f57ecb /embed.h
parent2f9970be002ee78a22fc687876139eedc9eb3a65 (diff)
downloadperl-fc51b17cb579e8cdaf6e99fdeb80f92379491759.tar.gz
Merge Perl_do_chop() and Perl_do_chomp().
They share code for dealing with PVAVs, PVHVs, read only values and handling PL_encoding. They are not part of the public API, and Google codesearch shows no users outside the core.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index a427ef563c..6a375d6b1c 100644
--- a/embed.h
+++ b/embed.h
@@ -974,8 +974,7 @@
#define delete_eval_scope() Perl_delete_eval_scope(aTHX)
#define die_unwind(a) Perl_die_unwind(aTHX_ a)
#define do_aexec5(a,b,c,d,e) Perl_do_aexec5(aTHX_ a,b,c,d,e)
-#define do_chomp(a,b) Perl_do_chomp(aTHX_ a,b)
-#define do_chop(a,b) Perl_do_chop(aTHX_ a,b)
+#define do_chomp(a,b,c) Perl_do_chomp(aTHX_ a,b,c)
#define do_dump_pad(a,b,c,d) Perl_do_dump_pad(aTHX_ a,b,c,d)
#define do_eof(a) Perl_do_eof(aTHX_ a)
#define do_execfree() Perl_do_execfree(aTHX)