forked from external/yambar
module: const:ify ‘module’ argument to module->description()
This commit is contained in:
parent
6794193791
commit
3ca274759a
22 changed files with 26 additions and 26 deletions
|
@ -84,10 +84,10 @@ destroy(struct module *mod)
|
|||
}
|
||||
|
||||
static const char *
|
||||
description(struct module *mod)
|
||||
description(const struct module *mod)
|
||||
{
|
||||
static char desc[32];
|
||||
struct private *m = mod->private;
|
||||
const struct private *m = mod->private;
|
||||
snprintf(desc, sizeof(desc), "alsa(%s)", m->card);
|
||||
return desc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue