xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon.git
Log | Files | Refs | README | LICENSE

commit b774f124f3d0f999f37fa35671aa29ebdc5c51cc
parent 3f2d6c6dcdcf821f51478c0df9146c9f7e89434d
Author: sin <sin@2f30.org>
Date:   Sat Nov  1 15:38:30 +0000

Rename recalc() to pollbat()

Diffstat:
xbattmon.c | 6+++---
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;