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/sonypi/sonypi-plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/sonypi') diff --git a/plugins/sonypi/sonypi-plugin.c b/plugins/sonypi/sonypi-plugin.c index 8a69cf4..64a0c8c 100644 --- a/plugins/sonypi/sonypi-plugin.c +++ b/plugins/sonypi/sonypi-plugin.c @@ -52,6 +52,7 @@ enum { SONYPI_DEVICE_FILE_READ_ERROR }; +static GList *sonypi_plugin_init(void) { int fd; GList *sensors = NULL; @@ -71,6 +72,7 @@ GList *sonypi_plugin_init(void) { return sensors; } +static gdouble sonypi_plugin_get_sensor_value(const gchar *path, const gchar *id, SensorType type, -- cgit v1.2.1