summaryrefslogtreecommitdiff
path: root/utf8proc.c
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2015-10-29 00:45:39 -0400
committerPeter Colberg <peter@colberg.org>2015-10-29 00:45:39 -0400
commit09360de1865e0e8dd59fc1e5038935f89b3f21cb (patch)
tree2e58ca1f8d66699351ed1261a55ea3497e334e83 /utf8proc.c
parent24515cbbe306568fa0a3646f1723b22373b91393 (diff)
downloadlibutf8proc-09360de1865e0e8dd59fc1e5038935f89b3f21cb.tar.gz
libutf8proc-09360de1865e0e8dd59fc1e5038935f89b3f21cb.tar.bz2
Do not export internal unsafe_encode_char()
Diffstat (limited to 'utf8proc.c')
-rw-r--r--utf8proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8proc.c b/utf8proc.c
index 80f5ba8..c302b79 100644
--- a/utf8proc.c
+++ b/utf8proc.c
@@ -188,7 +188,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_encode_char(utf8proc_int32_t uc, ut
}
/* internal "unsafe" version that does not check whether uc is in range */
-utf8proc_ssize_t unsafe_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) {
+static utf8proc_ssize_t unsafe_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) {
if (uc < 0x00) {
return 0;
} else if (uc < 0x80) {