summaryrefslogtreecommitdiff
path: root/test/charwidth.c
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2015-10-31 18:13:25 -0400
committerSteven G. Johnson <stevenj@mit.edu>2015-10-31 18:13:25 -0400
commita5c9de204717d619ddb2fa4eb994542bb3cfc157 (patch)
treedcb694a5b28a802e119c46f7bf8c2a62b45a462d /test/charwidth.c
parentf67f1a72f7bbaac8dbf08a183193ac82641cd34b (diff)
parentb10b64dc10fc4c5ca236e85a620ee78e503e201c (diff)
downloadlibutf8proc-a5c9de204717d619ddb2fa4eb994542bb3cfc157.tar.gz
libutf8proc-a5c9de204717d619ddb2fa4eb994542bb3cfc157.tar.bz2
Merge pull request #58 from petercolberg/master
Fix build warnings
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);