summaryrefslogtreecommitdiff
path: root/plugins/sonypi
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-04-22 12:56:21 +0800
committerraveit65 <[email protected]>2023-04-28 00:38:32 +0200
commit6148063f860bf23d970199fd74a9efdf547be834 (patch)
treeb5756324ac8fae1b79ba402d4d887989e6314c8b /plugins/sonypi
parent68740373619824398f0c16c39ca12ed8ac1e275c (diff)
downloadmate-sensors-applet-6148063f860bf23d970199fd74a9efdf547be834.tar.bz2
mate-sensors-applet-6148063f860bf23d970199fd74a9efdf547be834.tar.xz
Fix Compilation Warning
Diffstat (limited to 'plugins/sonypi')
-rw-r--r--plugins/sonypi/sonypi-plugin.c2
1 files changed, 2 insertions, 0 deletions
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,