From 732eff53f0510108732b26cffdac60a99905b4c5 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 May 2020 10:46:10 -0700 Subject: hi_module_get_about() should return a const pointer --- hardinfo/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo/util.c') 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(); -- cgit v1.2.3