Build fix for IBM support.
[monky] / src / ibm.c
index 560d2b0..80aa3b8 100644 (file)
--- a/src/ibm.c
+++ b/src/ibm.c
@@ -130,7 +130,7 @@ int get_ibm_acpi_fan(struct text_object *obj, char *p, int p_max_size)
 temperatures:   41 43 31 46 33 -128 29 -128
  * Peter Tarjan (ptarjan@citromail.hu) */
 
-void get_ibm_acpi_temps(void)
+int get_ibm_acpi_temps(void)
 {
 
        FILE *fp;
@@ -159,6 +159,7 @@ void get_ibm_acpi_temps(void)
        }
 
        fclose(fp);
+       return 0;
 }
 
 /* get volume (0-14) on IBM/Lenovo laptops running the ibm acpi.