commit b774f124f3d0f999f37fa35671aa29ebdc5c51cc
parent 3f2d6c6dcdcf821f51478c0df9146c9f7e89434d
Author: sin <sin@2f30.org>
Date: Sat, 1 Nov 2014 15:38:30 +0000
Rename recalc() to pollbat()
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c
@@ -122,7 +122,7 @@ redraw(void)
}
void
-recalc(void)
+pollbat(void)
{
int r;
int fd;
@@ -174,7 +174,7 @@ again:
err(1, "select");
}
if (n == 0) {
- recalc();
+ pollbat();
redraw();
continue;
}
@@ -247,7 +247,7 @@ main(int argc, char *argv[])
usage();
setup();
- recalc();
+ pollbat();
redraw();
loop();
return 0;