forked from external/yambar
module: begin_expose() and content() take a non-const module pointer
This commit is contained in:
parent
b579f97db7
commit
7f0f096ba4
9 changed files with 15 additions and 15 deletions
|
@ -19,7 +19,7 @@ destroy(struct module *mod)
|
|||
}
|
||||
|
||||
static struct exposable *
|
||||
content(const struct module *mod)
|
||||
content(struct module *mod)
|
||||
{
|
||||
const struct private *m = mod->private;
|
||||
return m->label->instantiate(m->label, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue