summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-21 21:40:06 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-21 21:43:27 +0100
commit5cc814fd5c2c076b31431eb7a8f9e17719c5baae (patch)
tree5e03884bc0d3e32bfdabd6f461d12a4160975fc0 /embed.h
parent1d8a41fe27d5f97658dce0925f99638fd69fcba9 (diff)
downloadperl-5cc814fd5c2c076b31431eb7a8f9e17719c5baae.tar.gz
Remove the PERLIO * argument to S_filter_gets(), as it's always PL_rsfp
Conceptually it's also wrong, as if there are source filters, the passed-in file handle is not passed up the stack of filters for the topmost filter to use to read from. It was in the parameter list from the first creation of filter_gets() in 16d20bd98cd29be76029ebf04027a7edd34d817b, when calls to sv_gets() were replaced by it.
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 b3b655ff57..8dfbd9ccc2 100644
--- a/embed.h
+++ b/embed.h
@@ -3981,7 +3981,7 @@
#define sublex_done() S_sublex_done(aTHX)
#define sublex_push() S_sublex_push(aTHX)
#define sublex_start() S_sublex_start(aTHX)
-#define filter_gets(a,b,c) S_filter_gets(aTHX_ a,b,c)
+#define filter_gets(a,b) S_filter_gets(aTHX_ a,b)
#define find_in_my_stash(a,b) S_find_in_my_stash(aTHX_ a,b)
#define tokenize_use(a,b) S_tokenize_use(aTHX_ a,b)
#define deprecate_commaless_var_list() S_deprecate_commaless_var_list(aTHX)