Use a seperate section for each nested struct member in INIT macro
This commit is contained in:
@@ -383,7 +383,9 @@ receiver_t *receiver_create()
|
||||
u_int32_t now = time_monotonic(NULL);
|
||||
|
||||
INIT(this,
|
||||
.public.destroy = _destroy,
|
||||
.public = {
|
||||
.destroy = _destroy,
|
||||
},
|
||||
.secret_switch = now,
|
||||
.secret_offset = random() % now,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user