mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
Delete unused formatting functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4818 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -42,27 +42,6 @@ fmtExtra
|
||||
return buff;
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtValu_0
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "%.0f", values[0]);
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtTemps_0
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "%.0f C (limit = %.0f C, hysteresis = %.0f C)", values[0], values[1], values[2]);
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtTemps_1_0
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "%.1f C (limit = %.0f C, hysteresis = %.0f C)", values[0], values[1], values[2]);
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtTemps_1
|
||||
(const double values[], int alarm, int beep) {
|
||||
@@ -126,27 +105,6 @@ fmtFan_only
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtMHz_2
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "%.2f MHz (min = %.2f MHz, max = %.2f MHz)", values[0], values[1], values[2]);
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtChassisIntrusionDetection
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "Chassis intrusion detection");
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtBoardTemperatureInput
|
||||
(const double values[], int alarm, int beep) {
|
||||
sprintf (buff, "Board temperature input"); /* N.B: "(usually LM75 chips)" */
|
||||
return fmtExtra (alarm, beep);
|
||||
}
|
||||
|
||||
static const char *
|
||||
fmtSoundAlarm
|
||||
(const double values[], int alarm, int beep) {
|
||||
|
Reference in New Issue
Block a user