diff options
author | jamesbond <jamesbond> | 2014-06-06 19:33:16 +0000 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2015-10-25 15:49:33 -0200 |
commit | c78ac8dfffa5d21c3dba2002db839b0f4a831043 (patch) | |
tree | 6820598cf4d39de9404365ef8063c1003807f786 | |
parent | ca6ee5bae777e59920dd7b018008e2fa5f8a5392 (diff) |
fix missing RAM memory due to functions of the same name being exported in different shared libraries (fix: make the functions private).
-rw-r--r-- | modules/computer.c | 2 | ||||
-rw-r--r-- | modules/devices.c | 4 | ||||
-rw-r--r-- | modules/network.c | 2 |
3 files changed, 4 insertions, 4 deletions
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); |