}
}
-struct psensor *
+static struct psensor *
lmsensor_psensor_create(const sensors_chip_name *chip,
const sensors_feature *feature,
int values_max_length)
int i;
if (!init_done)
- return ;
+ return NULL;
result = sensors;
while ((chip = sensors_get_detected_chips(NULL, &chip_nr))) {