From 9ba88a7d1f233892352eaaebcfe64c98eba16ded Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 23 Sep 2007 12:49:47 +0000 Subject: [PATCH] Better prototype for get_type_scaling(). git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4850 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sysfs.c b/lib/sysfs.c index a700bea0..8b4720ea 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -46,7 +46,7 @@ char sensors_sysfs_mount[NAME_MAX]; + MAX_SENSORS_PER_TYPE + 1) static -int get_type_scaling(int type) +int get_type_scaling(sensors_subfeature_type type) { switch (type & 0xFF10) { case SENSORS_SUBFEATURE_IN_INPUT: