diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-30 19:35:37 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-30 19:35:37 +0200 |
commit | b0401b13bb78bacde9d10b00766830cbeb2c90f6 (patch) | |
tree | b801cbddcf13203e53c664e77d1ea4b7357cea54 /components/temperature.c | |
parent | c0436810efa61b1207f57838fbb79b31bf593433 (diff) |
Clean up header includes
- Remove <errno.h> because related functions are in util.c now
- Remove corresponding <string.h> if not used otherwise
Diffstat (limited to 'components/temperature.c')
-rw-r--r-- | components/temperature.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/temperature.c b/components/temperature.c index bbec80b..fe2e0c9 100644 --- a/components/temperature.c +++ b/components/temperature.c @@ -16,9 +16,7 @@ return bprintf("%d", temp / 1000); } #elif defined(__OpenBSD__) - #include <errno.h> #include <stdio.h> - #include <string.h> #include <sys/time.h> /* before <sys/sensors.h> for struct timeval */ #include <sys/sensors.h> #include <sys/sysctl.h> |