summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-08 18:55:09 -0700
committerKarl Williamson <public@khwilliamson.com>2011-11-08 22:38:38 -0700
commitafc16117342e69d725e9609816ad29f611edb5a5 (patch)
tree33fe89eea3edaaf70b06a7b01c47dc75d19d59d9 /proto.h
parent50bda2c32d66573a5367b7d0d5a1d287d766b811 (diff)
downloadperl-afc16117342e69d725e9609816ad29f611edb5a5.tar.gz
utf8.c: Refactor to_uni_lower()
The portion that deals with Latin1 range characters is refactored into a separate (static) function, so that it can be called from more than one place.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 6aa9e2da58..2b58991d26 100644
--- a/proto.h
+++ b/proto.h
@@ -7003,6 +7003,9 @@ STATIC SV* S_swash_get(pTHX_ SV* swash, UV start, UV span)
#define PERL_ARGS_ASSERT_SWASH_GET \
assert(swash)
+STATIC U8 S_to_lower_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp)
+ __attribute__warn_unused_result__;
+
#endif
#if defined(PERL_IN_UTIL_C)
STATIC bool S_ckwarn_common(pTHX_ U32 w);