From 6148063f860bf23d970199fd74a9efdf547be834 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Sat, 22 Apr 2023 12:56:21 +0800 Subject: Fix Compilation Warning --- plugins/smu-sys/smu-sys-plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/smu-sys') 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, -- cgit v1.2.1