Don't export sensors_chip_name_has_wildcards(). I don't know of any

application using it, and I can't think of any use case for it outside
of libsensors. I'm not even sure if the inside calls are all legitimate.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4647 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-09 08:39:41 +00:00
1 parent eaec35491e
commit 5fb9a1689f
4 files changed
+2 -12

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ sensors_lookup_feature_name(const sensors_chip_name *chip, const char *feature)
/* 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. */
int sensors_chip_name_has_wildcards(sensors_chip_name chip)
static int sensors_chip_name_has_wildcards(sensors_chip_name chip)
{
if ((chip.prefix == SENSORS_CHIP_NAME_PREFIX_ANY) ||
(chip.bus == SENSORS_CHIP_NAME_BUS_ANY) ||