mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
fix compile errors; patch from
Sergey Vlasov <vsu@altlinux.ru> git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2988 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -157,7 +157,6 @@ while(1)
|
|||||||
1;
|
1;
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
loadconfig($)
|
|
||||||
sub loadconfig($)
|
sub loadconfig($)
|
||||||
{
|
{
|
||||||
my $file = shift;
|
my $file = shift;
|
||||||
@@ -215,7 +214,6 @@ $minstop);
|
|||||||
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
pwmdisable($)
|
|
||||||
sub pwmdisable($)
|
sub pwmdisable($)
|
||||||
{
|
{
|
||||||
my $p = shift;
|
my $p = shift;
|
||||||
@@ -257,7 +255,6 @@ sub pwmdisable($)
|
|||||||
|
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
pwmenable($)
|
|
||||||
sub pwmenable($)
|
sub pwmenable($)
|
||||||
{
|
{
|
||||||
my $p = shift;
|
my $p = shift;
|
||||||
@@ -291,7 +288,6 @@ sub pwmenable($)
|
|||||||
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
restorefans()
|
|
||||||
sub restorefans()
|
sub restorefans()
|
||||||
{
|
{
|
||||||
$SIG{TERM} = 'IGNORE';
|
$SIG{TERM} = 'IGNORE';
|
||||||
@@ -314,7 +310,6 @@ sub restorefans()
|
|||||||
|
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
UpdateFanSpeeds()
|
|
||||||
sub UpdateFanSpeeds()
|
sub UpdateFanSpeeds()
|
||||||
{
|
{
|
||||||
my $fcvcount = 0;
|
my $fcvcount = 0;
|
||||||
|
Reference in New Issue
Block a user