mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
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
|
@ -107,10 +107,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), "net(%s)", m->iface);
|
||||
return desc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue