build(clint): don't allow INIT() in non-header files (#27407)

This commit is contained in:
zeertzjq
2024-02-10 11:11:30 +08:00
committed by GitHub
parent 8e739af064
commit dcb11c1091
2 changed files with 9 additions and 2 deletions

View File

@@ -55,8 +55,8 @@
# include "sign.c.generated.h"
#endif
static PMap(cstr_t) sign_map INIT( = MAP_INIT);
static kvec_t(Integer) sign_ns INIT( = MAP_INIT);
static PMap(cstr_t) sign_map = MAP_INIT;
static kvec_t(Integer) sign_ns = KV_INITIAL_VALUE;
static char *cmds[] = {
"define",