diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2020-05-03 10:46:10 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2020-05-03 14:08:12 -0700 |
commit | 732eff53f0510108732b26cffdac60a99905b4c5 (patch) | |
tree | f3b3867bcfa2be75235057350368d1abd048c1a8 /hardinfo/util.c | |
parent | eaeabcd97a80b3a5522d0a1882ac6a8d3940edad (diff) |
hi_module_get_about() should return a const pointer
Diffstat (limited to 'hardinfo/util.c')
-rw-r--r-- | hardinfo/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c index 89c3ffd4..d8c77e78 100644 --- a/hardinfo/util.c +++ b/hardinfo/util.c @@ -849,7 +849,7 @@ static void module_entry_free(gpointer data, gpointer user_data) } #endif -ModuleAbout *module_get_about(ShellModule * module) +const ModuleAbout *module_get_about(ShellModule * module) { if (module->aboutfunc) { return module->aboutfunc(); |