module: const:ify ‘module’ argument to module->description()

This commit is contained in:
Daniel Eklöf 2022-12-14 12:05:17 +01:00
parent 6794193791
commit 3ca274759a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
22 changed files with 26 additions and 26 deletions

View file

@ -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);