mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Mass reindent, coding style and whitespace cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4736 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
02dc2e6679
commit
a82c6b0476
14 files changed
+249
-243
No files matched your search
+3
-3
@@ -29,8 +29,8 @@
|
||||
#include "general.h"
|
||||
|
||||
static int sensors_eval_expr(const sensors_chip_name *name,
|
||||
const sensors_expr *expr,
|
||||
double val, double *result);
|
||||
const sensors_expr *expr,
|
||||
double val, double *result);
|
||||
|
||||
/* Compare two chips name descriptions, to see whether they could match.
|
||||
Return 0 if it does not match, return 1 if it does match. */
|
||||
@@ -158,7 +158,7 @@ char *sensors_get_label(const sensors_chip_name *name, int feature)
|
||||
|
||||
for (chip = NULL; (chip = sensors_for_all_config_chips(name, chip));)
|
||||
for (i = 0; i < chip->labels_count; i++)
|
||||
if (!strcasecmp(featureptr->data.name,chip->labels[i].name)){
|
||||
if (!strcasecmp(featureptr->data.name, chip->labels[i].name)) {
|
||||
label = strdup(chip->labels[i].value);
|
||||
goto sensors_get_label_exit;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user