sensors_lookup_subfeature_nr() can now be made static.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4842 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-09-23 12:20:48 +00:00
1 parent e7c345f4cf
commit 586cec7fa1
2 files changed
+1 -8

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ sensors_for_all_config_chips(const sensors_chip_name *name,
/* Look up a subfeature in the intern chip list, and return a pointer to it.
Do not modify the struct the return value points to! Returns NULL if
not found.*/
const sensors_subfeature *
static const sensors_subfeature *
sensors_lookup_subfeature_nr(const sensors_chip_name *chip,
int subfeat_nr)
{
-7
View File
@@ -23,13 +23,6 @@
#include "sensors.h"
#include "data.h"
/* Look up a subfeature in the intern chip list, and return a pointer to it.
Do not modify the struct the return value points to! Returns NULL if
not found. */
const sensors_subfeature *
sensors_lookup_subfeature_nr(const sensors_chip_name *chip,
int subfeat_nr);
/* Check whether the chip name is an 'absolute' name, which can only match
one chip, or whether it has wildcards. Returns 0 if it is absolute, 1
if there are wildcards. */