diff options
Diffstat (limited to 'hardinfo')
-rw-r--r-- | hardinfo/hardinfo.c | 2 | ||||
-rw-r--r-- | hardinfo/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo/hardinfo.c b/hardinfo/hardinfo.c index 76527364..6d1bf8ce 100644 --- a/hardinfo/hardinfo.c +++ b/hardinfo/hardinfo.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) for (modules = modules_load_all(); modules; modules = modules->next) { ShellModule *module = (ShellModule *) modules->data; - ModuleAbout *ma = module_get_about(module); + const ModuleAbout *ma = module_get_about(module); gchar *name = g_path_get_basename(g_module_name(module->dll)); g_print("%-20s %-15s %-12s\n", name, module->name, ma->version); 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(); |