This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Fix order of fcn declaration
authorKarl Williamson <khw@cpan.org>
Thu, 21 Nov 2019 21:21:07 +0000 (14:21 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 21 Nov 2019 21:21:52 +0000 (14:21 -0700)
The static comes before the return type

regcomp.c

index 2c5cbfe..1a6ab15 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -16938,7 +16938,7 @@ S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings)
     UPDATE_WARNINGS_LOC(RExC_parse);
 }
 
-Size_t PERL_STATIC_INLINE
+PERL_STATIC_INLINE Size_t
 S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max)
 {
     const U8 * const start = s1;