Use a seperate section for each nested struct member in INIT macro
This commit is contained in:
@@ -47,7 +47,11 @@ plugin_t *agent_plugin_create()
|
||||
private_agent_plugin_t *this;
|
||||
|
||||
INIT(this,
|
||||
.public.plugin.destroy = _destroy,
|
||||
.public = {
|
||||
.plugin = {
|
||||
.destroy = _destroy,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
|
||||
|
||||
Reference in New Issue
Block a user