summaryrefslogtreecommitdiff
path: root/modules/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices.c')
-rw-r--r--modules/devices.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/devices.c b/modules/devices.c
index a90cbc0a..fef8b559 100644
--- a/modules/devices.c
+++ b/modules/devices.c
@@ -867,17 +867,16 @@ void hi_module_deinit(void)
g_module_close(cups);
}
-ModuleAbout *hi_module_get_about(void)
-{
- static ModuleAbout ma[] = {
- {
- .author = "Leandro A. F. Pereira",
- .description = N_("Gathers information about hardware devices"),
- .version = VERSION,
- .license = "GNU GPL version 2"}
+const ModuleAbout *hi_module_get_about(void)
+{
+ const static ModuleAbout ma = {
+ .author = "Leandro A. F. Pereira",
+ .description = N_("Gathers information about hardware devices"),
+ .version = VERSION,
+ .license = "GNU GPL version 2",
};
- return ma;
+ return &ma;
}
gchar **hi_module_get_dependencies(void)