diff options
Diffstat (limited to 'linux/Battery.c')
-rw-r--r-- | linux/Battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/Battery.c b/linux/Battery.c index a8784da0..1930880d 100644 --- a/linux/Battery.c +++ b/linux/Battery.c @@ -89,7 +89,7 @@ static unsigned long int parseBatInfo(const char *fileName, const unsigned short return total; } -static ACPresence procAcpiCheck() { +static ACPresence procAcpiCheck(void) { ACPresence isOn = AC_ERROR; const char *power_supplyPath = PROCDIR "/acpi/ac_adapter"; DIR *dir = opendir(power_supplyPath); @@ -137,7 +137,7 @@ static ACPresence procAcpiCheck() { return isOn; } -static double Battery_getProcBatData() { +static double Battery_getProcBatData(void) { const unsigned long int totalFull = parseBatInfo("info", 3, 4); if (totalFull == 0) return 0; |