Make a few libsensors functions static.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4544 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-07-03 14:26:26 +00:00
1 parent 7cc03f5029
commit c7c77845d2
2 files changed
+10 -28

No files matched your search

-22
View File
@@ -23,28 +23,12 @@
#include "sensors.h"
#include "data.h"
/* Returns, one by one, a pointer to all sensor_chip structs of the
config file which match with the given chip name. Last should be
the value returned by the last call, or NULL if this is the first
call. Returns NULL if no more matches are found. Do not modify
the struct the return value points to!
Note that this visits the list of chips from last to first. Usually,
you want the match that was latest in the config file. */
extern sensors_chip *sensors_for_all_config_chips(sensors_chip_name chip_name,
const sensors_chip *last);
/* Look up a resource 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. */
extern const sensors_chip_feature *sensors_lookup_feature_nr(const sensors_chip_name *chip,
int feature);
/* Look up a resource 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.*/
extern const sensors_chip_feature *sensors_lookup_feature_name
(const sensors_chip_name *chip, const char *feature);
/* Substitute configuration bus numbers with real-world /proc bus numbers
in the chips lists */
extern int sensors_substitute_busses(void);
@@ -54,10 +38,4 @@ extern int sensors_substitute_busses(void);
error.h on failure. */
extern int sensors_parse_i2cbus_name(const char *name, int *res);
/* Evaluate an expression */
extern int sensors_eval_expr(sensors_chip_name chipname,
const sensors_expr *expr,
double val, double *result);
#endif /* def LIB_SENSORS_ACCESS_H */