mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Clean up the global variables:
* do_sets, do_raw and hide_adapter are only used in main.c and could thus be declared static. * fahrenheit and degstr are used in chips.c as well, so they should be declared in a header file. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4713 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -24,12 +24,10 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "main.h"
|
||||
#include "chips.h"
|
||||
#include "lib/sensors.h"
|
||||
|
||||
extern int fahrenheit;
|
||||
extern char degstr[5];
|
||||
|
||||
static inline float deg_ctof(float cel)
|
||||
{
|
||||
return cel * (9.0F / 5.0F) + 32.0F;
|
||||
|
Reference in New Issue
Block a user