mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-20 11:29:31 +00:00
Declare foundsysfs in proc.h.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3080 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ece5b07360
commit
57e3589237
2 files changed
+3
-2
No files matched your search
@@ -120,8 +120,6 @@ const sensors_chip_feature *sensors_lookup_feature_name(const char *prefix,
|
||||
if there are wildcards. */
|
||||
int sensors_chip_name_has_wildcards(sensors_chip_name chip)
|
||||
{
|
||||
extern int foundsysfs;
|
||||
|
||||
if(foundsysfs) {
|
||||
if (chip.prefix == SENSORS_CHIP_NAME_PREFIX_ANY)
|
||||
return 1;
|
||||
|
||||
@@ -34,4 +34,7 @@ extern int sensors_read_proc(sensors_chip_name name, int feature,
|
||||
extern int sensors_write_proc(sensors_chip_name name, int feature,
|
||||
double value);
|
||||
|
||||
/* Linux 2.6 uses sysfs, some code needs to know */
|
||||
extern int foundsysfs;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user