From c78ac8dfffa5d21c3dba2002db839b0f4a831043 Mon Sep 17 00:00:00 2001 From: jamesbond Date: Fri, 6 Jun 2014 19:33:16 +0000 Subject: fix missing RAM memory due to functions of the same name being exported in different shared libraries (fix: make the functions private). --- modules/computer.c | 2 +- modules/devices.c | 4 ++-- modules/network.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/computer.c b/modules/computer.c index 16c68217..056af6a4 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -84,7 +84,7 @@ static ModuleEntry entries[] = { gchar *module_list = NULL; Computer *computer = NULL; -gchar *hi_more_info(gchar * entry) +static gchar *hi_more_info(gchar * entry) { gchar *info = moreinfo_lookup_with_prefix("COMP", entry); diff --git a/modules/devices.c b/modules/devices.c index 59163f04..a749aeaa 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -68,7 +68,7 @@ void scan_spd(gboolean reload); #endif void scan_device_resources(gboolean reload); -gchar *hi_more_info(gchar *entry); +static gchar *hi_more_info(gchar *entry); static ModuleEntry entries[] = { {N_("Processor"), "processor.png", callback_processors, scan_processors, MODULE_FLAG_NONE}, @@ -215,7 +215,7 @@ ShellModuleMethod *hi_exported_methods(void) return m; } -gchar *hi_more_info(gchar * entry) +static gchar *hi_more_info(gchar * entry) { gchar *info = moreinfo_lookup_with_prefix("DEV", entry); diff --git a/modules/network.c b/modules/network.c index 18f8ba65..c9f389f5 100644 --- a/modules/network.c +++ b/modules/network.c @@ -379,7 +379,7 @@ gchar *callback_statistics() __statistics); } -gchar *hi_more_info(gchar * entry) +static gchar *hi_more_info(gchar * entry) { gchar *info = moreinfo_lookup_with_prefix("NET", entry); -- cgit v1.2.3