Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Remove UNUSED macro
[slstatus.git]
/
components
/
battery.c
diff --git
a/components/battery.c
b/components/battery.c
index
a63b9d0
..
49f43e6
100644
(file)
--- a/
components/battery.c
+++ b/
components/battery.c
@@
-52,7
+52,7
@@
#include <unistd.h>
const char *
- battery_perc(const char *
null
)
+ battery_perc(const char *
unused
)
{
struct apm_power_info apm_info;
int fd;
@@
-75,7
+75,7
@@
}
const char *
- battery_state(const char *
bat
)
+ battery_state(const char *
unused
)
{
int fd;
size_t i;