summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-11 17:03:29 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commitffd62fc2fb74955cac5af41e7b3820e09877c3b4 (patch)
tree449d5457b00364634ad76a1bf3917d207a48dda6 /inline.h
parentb9d5702c94e722aa7b69045bcffee45cc7d7d517 (diff)
downloadperl-ffd62fc2fb74955cac5af41e7b3820e09877c3b4.tar.gz
inline.h: Move some fcn '{' to column 1
Traditionally, functions in perl have been written so their initial '{' is in column 1 after the prototype. This makes grepping easier. This commit brings 3 functions in this file into conformance.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/inline.h b/inline.h
index 501a264dbc..9d44bd4c95 100644
--- a/inline.h
+++ b/inline.h
@@ -1892,7 +1892,8 @@ Used by the C<IS_SAFE_SYSCALL()> macro.
*/
PERL_STATIC_INLINE bool
-Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name) {
+Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
+{
/* While the Windows CE API provides only UCS-16 (or UTF-16) APIs
* perl itself uses xce*() functions which accept 8-bit strings.
*/
@@ -1933,7 +1934,8 @@ then calling:
#ifdef PERL_CORE
PERL_STATIC_INLINE bool
-S_should_warn_nl(const char *pv) {
+S_should_warn_nl(const char *pv)
+{
STRLEN len;
PERL_ARGS_ASSERT_SHOULD_WARN_NL;
@@ -2013,7 +2015,8 @@ Return false if any get magic is on the SV other than taint magic.
*/
PERL_STATIC_INLINE bool
-Perl_sv_only_taint_gmagic(SV *sv) {
+Perl_sv_only_taint_gmagic(SV *sv)
+{
MAGIC *mg = SvMAGIC(sv);
PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC;