diff options
author | Tony Kelman <tony@kelman.net> | 2015-04-06 22:36:33 -0700 |
---|---|---|
committer | Tony Kelman <tony@kelman.net> | 2015-04-06 22:36:33 -0700 |
commit | 0a818c700353194d85baaf6a2f7f6ea32686b922 (patch) | |
tree | 859d990277010fe6fa5d7d3e3ed53081cbee9388 /test/graphemetest.c | |
parent | ad277229234b77ac3d334860f6857921060dcb37 (diff) | |
download | libutf8proc-0a818c700353194d85baaf6a2f7f6ea32686b922.tar.gz libutf8proc-0a818c700353194d85baaf6a2f7f6ea32686b922.tar.bz2 |
Prefix other C99 typedefs with utf8proc_
Diffstat (limited to 'test/graphemetest.c')
-rw-r--r-- | test/graphemetest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/graphemetest.c b/test/graphemetest.c index 0d82fa3..a05b6e2 100644 --- a/test/graphemetest.c +++ b/test/graphemetest.c @@ -5,7 +5,7 @@ int main(int argc, char **argv) char *buf = NULL; size_t bufsize = 0; FILE *f = argc > 1 ? fopen(argv[1], "r") : NULL; - uint8_t src[1024]; + utf8proc_uint8_t src[1024]; check(f != NULL, "error opening GraphemeBreakTest.txt"); while (getline(&buf, &bufsize, f) > 0) { @@ -39,10 +39,10 @@ int main(int argc, char **argv) src[si] = 0; /* NUL-terminate */ if (si) { - uint8_t utf8[1024]; /* copy src without 0xff grapheme separators */ + utf8proc_uint8_t utf8[1024]; /* copy src without 0xff grapheme separators */ size_t i = 0, j = 0; utf8proc_ssize_t glen; - uint8_t *g; /* utf8proc_map grapheme results */ + utf8proc_uint8_t *g; /* utf8proc_map grapheme results */ while (i < si) { if (src[i] != '/') utf8[j++] = src[i++]; |