aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_blkname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode/prop/uprop_blkname.c')
-rw-r--r--lib/unicode/prop/uprop_blkname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicode/prop/uprop_blkname.c b/lib/unicode/prop/uprop_blkname.c
index 490f133..d55d731 100644
--- a/lib/unicode/prop/uprop_blkname.c
+++ b/lib/unicode/prop/uprop_blkname.c
@@ -4,7 +4,7 @@
#define _(...) \
{(const char8_t []){__VA_ARGS__}, sizeof((const char8_t []){__VA_ARGS__})}
-static const struct u8view lookup[] = {
+static const u8view_t lookup[] = {
[BLK_NB] = _('N', 'o', ' ', 'B', 'l', 'o', 'c', 'k'),
[BLK_ADLAM] = _('A', 'd', 'l', 'a', 'm'),
[BLK_AEGEAN_NUMBERS] = _('A', 'e', 'g', 'e', 'a', 'n', ' ', 'N', 'u', 'm', 'b', 'e', 'r', 's'),
@@ -336,7 +336,7 @@ static const struct u8view lookup[] = {
[BLK_ZNAMENNY_MUSIC] = _('Z', 'n', 'a', 'm', 'e', 'n', 'n', 'y', ' ', 'M', 'u', 's', 'i', 'c', 'a', 'l', ' ', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n'),
};
-struct u8view
+u8view_t
uprop_blkname(enum uprop_blk blk)
{
ASSUME(blk < lengthof(lookup));