summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-09 20:06:57 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-09 20:06:57 +0000
commit0786552a25399b1ea99930f794f6bf1973823a24 (patch)
tree2eb83e0f108ce251d965a7f5376728055ac8cdf9 /embed.h
parent50b8ed39c726ebc47ad88ac004e8c85b9833a11a (diff)
downloadperl-0786552a25399b1ea99930f794f6bf1973823a24.tar.gz
Remove the strlen in doopen_pm() by passing in the length. (As we know
it already in the caller). Remove the unchanging mode parameter from doopen_pm() and check_type_and_open(), as it's always PERL_SCRIPT_MODE. p4raw-id: //depot/perl@32086
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 8f86f3ea01..418f794aa4 100644
--- a/embed.h
+++ b/embed.h
@@ -3583,7 +3583,7 @@
#define dopoptowhen(a) S_dopoptowhen(aTHX_ a)
#define save_lines(a,b) S_save_lines(aTHX_ a,b)
#define doeval(a,b,c,d) S_doeval(aTHX_ a,b,c,d)
-#define check_type_and_open(a,b) S_check_type_and_open(aTHX_ a,b)
+#define check_type_and_open(a) S_check_type_and_open(aTHX_ a)
#define doopen_pm(a,b) S_doopen_pm(aTHX_ a,b)
#define path_is_absolute S_path_is_absolute
#define run_user_filter(a,b,c) S_run_user_filter(aTHX_ a,b,c)