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
2
module.h
2
module.h
|
@ -27,7 +27,7 @@ struct module {
|
|||
* specified number of milliseconds */
|
||||
bool (*refresh_in)(struct module *mod, long milli_seconds);
|
||||
|
||||
const char *(*description)(struct module *mod);
|
||||
const char *(*description)(const struct module *mod);
|
||||
};
|
||||
|
||||
struct module *module_common_new(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue