summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-08-27 21:53:41 -0400
committerQuentin Carbonneaux2014-08-27 21:53:41 -0400
commit54511cf924d9631ebc700fc0c8b5abe2cfe941d2 (patch)
tree76257a358fbb19cbc3cfed92170784768bb942ab
parent63fa788b8eee2eee45d4b78f256b2f99523a06dd (diff)
fix code typo in event module
-rw-r--r--evnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/evnt.c b/evnt.c
index 625631b..f179409 100644
--- a/evnt.c
+++ b/evnt.c
@@ -22,7 +22,7 @@ struct alarm {
};
static void pushalarm(Alarm);
-static void popalrm(void);
+static void popalarm(void);
static Alarm ah[MaxAlarms + 1];
static int na;
@@ -108,7 +108,7 @@ ev_loop()
gettimeofday(&curtime, 0);
while (na && !tgt(ah[1].t, curtime)) {
a = ah[1];
- popalrm();
+ popalarm();
a.f();
}
for (i=0; i < ne;) {
@@ -149,7 +149,7 @@ pushalarm(Alarm a)
}
static void
-popalrm()
+popalarm()
{
Alarm t;
int i, j;