diff --git a/lib/access.c b/lib/access.c index 96b8195a..b6f08ff4 100644 --- a/lib/access.c +++ b/lib/access.c @@ -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) { diff --git a/lib/access.h b/lib/access.h index 0ba96ce9..bd735f41 100644 --- a/lib/access.h +++ b/lib/access.h @@ -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. */