From 9df18e9b384a56902ef1517bc269b8c345149e12 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 9 Oct 2025 14:05:54 +0200 Subject: c: call memset for some runtime zero initializations --- c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'c.h') diff --git a/c.h b/c.h index 3b301a3..fa47bca 100644 --- a/c.h +++ b/c.h @@ -43,8 +43,7 @@ struct expr { }; struct init { - uint nzero; - struct bitset *zero; /* bytes to zero out */ + struct bitset zero[1]; /* bytes to zero out up to 64 */ struct initval { struct initval *next; uint off; -- cgit v1.2.3