summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-11-17 19:15:06 -0700
committerKarl Williamson <khw@cpan.org>2020-11-18 05:11:16 -0700
commit3af695f3325716a03a79f2b1a27b032ed4698bfa (patch)
tree675921581d14dace2a5b8d46fd297a1822895183 /proto.h
parent2228b3d92dc6b04915a758fc6d3e4d724fb976c7 (diff)
downloadperl-3af695f3325716a03a79f2b1a27b032ed4698bfa.tar.gz
Move regcurly to regcomp.c (from inline.h)
This function is called only at compile time; experience has shown that compile-time operations are not time-critical. And future commits will lengthen it, making it not practically inlinable anyway.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index 63618754ac..5e1be02149 100644
--- a/proto.h
+++ b/proto.h
@@ -6127,12 +6127,10 @@ PERL_CALLCONV SV* Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
assert(invlist)
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
-#ifndef PERL_NO_INLINE_FUNCTIONS
-PERL_STATIC_INLINE bool S_regcurly(const char *s)
+PERL_CALLCONV bool Perl_regcurly(const char *s)
__attribute__warn_unused_result__;
#define PERL_ARGS_ASSERT_REGCURLY \
assert(s)
-#endif
#endif
#if defined(PERL_IN_REGEXEC_C)