summaryrefslogtreecommitdiff
path: root/utf8proc.c
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2015-10-29 13:30:56 -0400
committerSteven G. Johnson <stevenj@mit.edu>2015-10-29 13:30:56 -0400
commite52c8c4c8f0f10aa71c8dbd633a359895157c871 (patch)
treef4b75a196aa210bf3606dd134d6f8183e45e0975 /utf8proc.c
parent24515cbbe306568fa0a3646f1723b22373b91393 (diff)
parentf314738f718d27c777d7ae97c47664c716efd0f7 (diff)
downloadlibutf8proc-e52c8c4c8f0f10aa71c8dbd633a359895157c871.tar.gz
libutf8proc-e52c8c4c8f0f10aa71c8dbd633a359895157c871.tar.bz2
Merge pull request #55 from petercolberg/master
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) {