mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-26 20:38:20 +00:00
The free_expr() function is no longer static in lib/init.c (it is also
used in lib/conf-parse.y), and therefore must be renamed according to the libsensors naming conventions. Patch from Sergey Vlasov. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5301 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
feee4d9309
commit
389555eda3
4 files changed
+11
-10
No files matched your search
+3
-3
@@ -170,7 +170,7 @@ set_statement: SET function_name expression
|
||||
if (!current_chip) {
|
||||
sensors_yyerror("Set statement before first chip statement");
|
||||
free($2);
|
||||
free_expr($3);
|
||||
sensors_free_expr($3);
|
||||
YYERROR;
|
||||
}
|
||||
new_el.lineno = $1;
|
||||
@@ -185,8 +185,8 @@ compute_statement: COMPUTE function_name expression ',' expression
|
||||
if (!current_chip) {
|
||||
sensors_yyerror("Compute statement before first chip statement");
|
||||
free($2);
|
||||
free_expr($3);
|
||||
free_expr($5);
|
||||
sensors_free_expr($3);
|
||||
sensors_free_expr($5);
|
||||
YYERROR;
|
||||
}
|
||||
new_el.lineno = $1;
|
||||
|
||||
Reference in new issue
Block a user