summaryrefslogtreecommitdiff
path: root/plugins/smu-sys/smu-sys-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/smu-sys/smu-sys-plugin.c')
-rw-r--r--plugins/smu-sys/smu-sys-plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/smu-sys/smu-sys-plugin.c b/plugins/smu-sys/smu-sys-plugin.c
index f5940fd..d9e530d 100644
--- a/plugins/smu-sys/smu-sys-plugin.c
+++ b/plugins/smu-sys/smu-sys-plugin.c
@@ -108,7 +108,7 @@ static void smu_sys_plugin_test_sensor(GList **sensors, const gchar *path) {
}
/* to be called to setup for sys sensors */
-GList *smu_sys_plugin_init(void) {
+static GList *smu_sys_plugin_init(void) {
GList *sensors = NULL;
/* call function to recursively look for sensors
@@ -120,6 +120,7 @@ GList *smu_sys_plugin_init(void) {
/* returns the value of the sensor_list at the given iter, or if an
error occurs, instatiates error with an error message */
+static
gdouble smu_sys_plugin_get_sensor_value(const gchar *path,
const gchar *id,
SensorType type,