diff options
Diffstat (limited to 'components/Linux/temperature.c')
-rw-r--r-- | components/Linux/temperature.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/components/Linux/temperature.c b/components/Linux/temperature.c deleted file mode 100644 index fa50826..0000000 --- a/components/Linux/temperature.c +++ /dev/null @@ -1,15 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include <errno.h> -#include <stdio.h> -#include <string.h> - -#include "../../util.h" - -const char * -temp(const char *file) -{ - int temp; - - return (pscanf(file, "%d", &temp) == 1) ? - bprintf("%d", temp / 1000) : NULL; -} |