config: conf_verify_dict() now assumes attr list is NULL-terminated

This commit is contained in:
Daniel Eklöf 2019-01-13 11:37:05 +01:00
parent 2df419efc2
commit 71515e4079
21 changed files with 22 additions and 34 deletions

View file

@ -14,8 +14,6 @@ struct module;
struct module_info {
struct module *(*from_conf)(const struct yml_node *node,
const struct font *parent_font);
size_t attr_count; /* TODO: remove, NULL-terminate attr list instead */
const struct attr_info attrs[];
};