summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-11-12 08:17:22 -0700
committerKarl Williamson <khw@cpan.org>2022-12-07 09:13:37 -0700
commit3bc9d329f51e69a2d7aadbf45a655d11883a71c5 (patch)
treecd2028f5b0ce0a7ff863e1e184e62bbfe4153ce8 /proto.h
parentef4a769531a3cad86c11f105301479fcb69ddb4b (diff)
downloadperl-3bc9d329f51e69a2d7aadbf45a655d11883a71c5.tar.gz
locale.c: Reorder parameters to static function
Move the least important parameters (that can be NULL to indicate unused) to the end of the parameter list, thereby moving the required ones to the beginning. This makes it clear what is important.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index a6ade551e4..9e67c6af83 100644
--- a/proto.h
+++ b/proto.h
@@ -5739,7 +5739,7 @@ PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
# if defined(USE_LOCALE)
STATIC unsigned int S_get_category_index(const int category, const char * locale);
#define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
-STATIC utf8ness_t S_get_locale_string_utf8ness_i(pTHX_ const char * locale, const unsigned cat_index, const char * string, const locale_utf8ness_t known_utf8);
+STATIC utf8ness_t S_get_locale_string_utf8ness_i(pTHX_ const char * string, const locale_utf8ness_t known_utf8, const char * locale, const unsigned cat_index);
#define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
STATIC bool S_is_locale_utf8(pTHX_ const char * locale);
#define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \