From c5abb5b806ddc3eedde2e6bcd31eef78c36edf33 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 3 Jan 2023 10:37:44 +0100 Subject: Fix compilation error in utf8code.c due to predeclaring a static array with unspecified size. --- include/stc/utf8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/stc/utf8.h b/include/stc/utf8.h index 3246e654..4e38a5c8 100644 --- a/include/stc/utf8.h +++ b/include/stc/utf8.h @@ -9,6 +9,7 @@ enum { U8G_Cc, U8G_Lt, U8G_Nd, U8G_Nl, U8G_Pc, U8G_Pd, U8G_Pf, U8G_Pi, U8G_Sc, U8G_Zl, U8G_Zp, U8G_Zs, + U8G_SIZE }; extern bool utf8_isgroup(int group, uint32_t c); extern bool utf8_isblank(uint32_t c); -- cgit v1.2.3