summaryrefslogtreecommitdiff
path: root/test/charwidth.c
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2015-10-30 15:24:34 -0400
committerPeter Colberg <peter@colberg.org>2015-10-30 15:24:34 -0400
commit14b57791d8f2fca57410e73c9ff3b91673ee2646 (patch)
tree4718278903bd42dea97e5fa75031e4006c0bc607 /test/charwidth.c
parent6acc41dfe91099bc858d7b0ebc8d27be37477318 (diff)
downloadlibutf8proc-14b57791d8f2fca57410e73c9ff3b91673ee2646.tar.gz
libutf8proc-14b57791d8f2fca57410e73c9ff3b91673ee2646.tar.bz2
Fix missing static declarations for internal functions
Diffstat (limited to 'test/charwidth.c')
-rw-r--r--test/charwidth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/charwidth.c b/test/charwidth.c
index 986e7ca..330f18e 100644
--- a/test/charwidth.c
+++ b/test/charwidth.c
@@ -2,7 +2,7 @@
#include <ctype.h>
#include <wchar.h>
-int my_isprint(int c) {
+static int my_isprint(int c) {
int cat = utf8proc_get_property(c)->category;
return (UTF8PROC_CATEGORY_LU <= cat && cat <= UTF8PROC_CATEGORY_ZS) ||
(c == 0x0601 || c == 0x0602 || c == 0x0603 || c == 0x06dd);