aboutsummaryrefslogtreecommitdiffhomepage
path: root/c.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-09 14:05:54 +0200
committerlemon <lsof@mailbox.org>2025-10-09 14:05:54 +0200
commit9df18e9b384a56902ef1517bc269b8c345149e12 (patch)
tree9bea4f13167e2996813578a121bd4f4e8fde5290 /c.h
parentc1ab2a12cdaec4b701f2f9f994a174a6b838212c (diff)
c: call memset for some runtime zero initializations
Diffstat (limited to 'c.h')
-rw-r--r--c.h3
1 files changed, 1 insertions, 2 deletions
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;