These variable are only used in the sensor.c file. Signed-off-by: Daniel Lezcano <daniel.lezc...@free.fr> --- sensor.c | 9 +++++++++ sensor.h | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/sensor.c b/sensor.c index f5fcd40..df07593 100644 --- a/sensor.c +++ b/sensor.c @@ -16,6 +16,15 @@ #include "powerdebug.h" #include "sensor.h" +static char *items_temp[32] = {"min", "max", "input", "label", ""}; +static char *suffix_temp[32] = {"°C", "°C", "°C", "", ""}; +static char *items_in[32] = {"min", "max", "input", "label", ""}; +static char *suffix_in[32] = {"Volts", "Volts", "Volts", "", ""}; +static char *items_fan[32] = {"min", "max", "input", "label", "div", "target", ""}; +static char *suffix_fan[32] = {"RPM", "RPM", "RPM", "", "", "RPM", ""}; +static char *items_pwm[32] = {"freq", "enable", "mode", ""}; +static char *suffix_pwm[32] = {"Hz", "", "", ""}; + char *get_num(char *fname, char *sensor) { char tmpstr[NAME_MAX]; diff --git a/sensor.h b/sensor.h index cca11d1..8537149 100644 --- a/sensor.h +++ b/sensor.h @@ -13,11 +13,3 @@ * - initial API and implementation *******************************************************************************/ -char *items_temp[32] = {"min", "max", "input", "label", ""}; -char *suffix_temp[32] = {"°C", "°C", "°C", "", ""}; -char *items_in[32] = {"min", "max", "input", "label", ""}; -char *suffix_in[32] = {"Volts", "Volts", "Volts", "", ""}; -char *items_fan[32] = {"min", "max", "input", "label", "div", "target", ""}; -char *suffix_fan[32] = {"RPM", "RPM", "RPM", "", "", "RPM", ""}; -char *items_pwm[32] = {"freq", "enable", "mode", ""}; -char *suffix_pwm[32] = {"Hz", "", "", ""}; -- 1.7.1
_______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev