X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fpsensor.c;h=b01c81b74228f0f2d33f33a028917e91d9cc066d;hp=4efbdc6ef1da3b63a933dedb10489dafe0c97bc7;hb=927fa3837641ccc42d6203a2704356f24b9c1ea9;hpb=2b9e1441889f40b55cbb026bb50fa16a95e501a4 diff --git a/src/lib/psensor.c b/src/lib/psensor.c index 4efbdc6..b01c81b 100644 --- a/src/lib/psensor.c +++ b/src/lib/psensor.c @@ -210,9 +210,8 @@ double fahrenheit_to_celcius(double f) return (f - 32) * (5.0/9.0); } -char *psensor_value_to_string(unsigned int type, - double value, - int use_celcius) +char * +psensor_value_to_str(unsigned int type, double value, int use_celcius) { /* should not be possible to exceed 20 characters with temp or rpm values the .x part is never displayed */