modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS

All modules implement these. The only one that differs is the i3
module. It still implements them, but 'content' uses an internal
verifier function.
This commit is contained in:
Daniel Eklöf 2020-01-24 21:08:39 +01:00
parent 36e5dc0df8
commit 86522d653d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
13 changed files with 3 additions and 23 deletions

View file

@ -346,8 +346,6 @@ static bool
verify_conf(keychain_t *chain, const struct yml_node *node)
{
static const struct attr_info attrs[] = {
{"content", true, &conf_verify_particle},
{"anchors", false, NULL},
MODULE_COMMON_ATTRS,
};