summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-11-06 22:49:51 -0700
committerKarl Williamson <khw@cpan.org>2018-11-16 10:48:19 -0700
commita6609ec917e586c390c562541b3085cdfc7d383c (patch)
treec44b35104367e6b746b9c8e429e8ec11268a79b1 /embed.fnc
parent25f472ce814259c264beeacdb8dfb8b12209ae43 (diff)
downloadperl-a6609ec917e586c390c562541b3085cdfc7d383c.tar.gz
regcomp.c: Remove no longer used parameter, and refactor
This static function no longer is called with a non-NULL final parameter. That means it no longer returns a list, and its name is hereby changed to reflect that. It also means the function can be refactored and made simpler.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc5
1 files changed, 2 insertions, 3 deletions
diff --git a/embed.fnc b/embed.fnc
index 283f753e24..2ed2cc32b9 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2386,10 +2386,9 @@ Es |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
|NULLOK SV* const only_utf8_locale_list \
|NULLOK SV* const swash \
|const bool has_user_defined_property
-Es |void |output_or_return_posix_warnings \
+Es |void |output_posix_warnings \
|NN RExC_state_t *pRExC_state \
- |NN AV* posix_warnings \
- |NULLOK AV** return_posix_warnings
+ |NN AV* posix_warnings
Es |AV* |add_multi_match|NULLOK AV* multi_char_matches \
|NN SV* multi_string \
|const STRLEN cp_count