Improve LLVM compatibility a little bit

This commit is contained in:
Justine Tunney 2021-05-16 20:34:46 -07:00
parent 3057315a1b
commit 1a3d22b2fd
7 changed files with 14 additions and 12 deletions

View file

@ -19,7 +19,9 @@
#include "libc/macros.internal.h"
#include "libc/str/str.h"
static const int (*const kWcTypeFuncs[])(wint_t) = {
typedef int (*isw_f)(wint_t);
static const isw_f kWcTypeFuncs[] = {
iswalnum, //
iswalpha, //
iswblank, //