diff --git a/lib/data.h b/lib/data.h index e1708c93..5f089eda 100644 --- a/lib/data.h +++ b/lib/data.h @@ -113,8 +113,8 @@ typedef struct sensors_chip { /* Config file bus declaration: the bus type and number, combined with adapter name */ typedef struct sensors_bus { - sensors_bus_id bus; char *adapter; + sensors_bus_id bus; int lineno; } sensors_bus; diff --git a/lib/libsensors.3 b/lib/libsensors.3 index ddd0881c..dcd9ef1c 100644 --- a/lib/libsensors.3 +++ b/lib/libsensors.3 @@ -104,10 +104,10 @@ they point to internal structures! This structure is used when you want to get all features of a specific chip. .br \fBtypedef struct sensors_feature_data { -.br - int number; .br const char *name; +.br + int number; .br sensors_feature_type type; .br diff --git a/lib/sensors.h b/lib/sensors.h index 60633f23..699dcec6 100644 --- a/lib/sensors.h +++ b/lib/sensors.h @@ -159,8 +159,8 @@ typedef enum sensors_feature_type { /* This structure is used when you want to get all features of a specific chip. */ typedef struct sensors_feature_data { - int number; char *name; + int number; sensors_feature_type type; int mapping; int compute_mapping;