Show
Ignore:
Timestamp:
09/19/07 17:12:58 (7 years ago)
Author:
khali
Message:

Delete unused formatting functions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/sensord/chips.c

    r4817 r4818  
    4444 
    4545static const char * 
    46 fmtValu_0 
    47 (const double values[], int alarm, int beep) { 
    48   sprintf (buff, "%.0f", values[0]); 
    49   return fmtExtra (alarm, beep); 
    50 } 
    51  
    52 static const char * 
    53 fmtTemps_0 
    54 (const double values[], int alarm, int beep) { 
    55   sprintf (buff, "%.0f C (limit = %.0f C, hysteresis = %.0f C)", values[0], values[1], values[2]); 
    56   return fmtExtra (alarm, beep); 
    57 } 
    58  
    59 static const char * 
    60 fmtTemps_1_0 
    61 (const double values[], int alarm, int beep) { 
    62   sprintf (buff, "%.1f C (limit = %.0f C, hysteresis = %.0f C)", values[0], values[1], values[2]); 
    63   return fmtExtra (alarm, beep); 
    64 } 
    65  
    66 static const char * 
    6746fmtTemps_1 
    6847(const double values[], int alarm, int beep) { 
     
    124103(const double values[], int alarm, int beep) { 
    125104  sprintf (buff, "%.0f RPM", values[0]); 
    126   return fmtExtra (alarm, beep); 
    127 } 
    128  
    129 static const char * 
    130 fmtMHz_2 
    131 (const double values[], int alarm, int beep) { 
    132   sprintf (buff, "%.2f MHz (min = %.2f MHz, max = %.2f MHz)", values[0], values[1], values[2]); 
    133   return fmtExtra (alarm, beep); 
    134 } 
    135  
    136 static const char * 
    137 fmtChassisIntrusionDetection 
    138 (const double values[], int alarm, int beep) { 
    139   sprintf (buff, "Chassis intrusion detection"); 
    140   return fmtExtra (alarm, beep); 
    141 } 
    142  
    143 static const char * 
    144 fmtBoardTemperatureInput 
    145 (const double values[], int alarm, int beep) { 
    146   sprintf (buff, "Board temperature input"); /* N.B: "(usually LM75 chips)" */ 
    147105  return fmtExtra (alarm, beep); 
    148106}