summaryrefslogtreecommitdiff
path: root/src/examples/timertest/timertest.c
diff options
context:
space:
mode:
authorAndrew Shadura <andrew@shadura.me>2014-06-17 11:57:32 +0200
committerAndrew Shadura <andrew@shadura.me>2014-06-17 11:57:32 +0200
commitd1e7e16224c881ee3093658fe4cbf14db244cec7 (patch)
tree8850e7a55b4b1589a7a08e2364e9c12dad31962c /src/examples/timertest/timertest.c
parent246fb6b81eef837f1269073255373bf0a3d5c27a (diff)
Update to the latest upstream snapshot
Diffstat (limited to 'src/examples/timertest/timertest.c')
-rw-r--r--src/examples/timertest/timertest.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/examples/timertest/timertest.c b/src/examples/timertest/timertest.c
index 242b8a9..f99410b 100644
--- a/src/examples/timertest/timertest.c
+++ b/src/examples/timertest/timertest.c
@@ -25,12 +25,14 @@
mowgli_eventloop_t *eventloop;
-void timer_oneshot(void *unused)
+void
+timer_oneshot(void *unused)
{
printf("oneshot timer hit\n");
}
-void timer_tick(void *unused)
+void
+timer_tick(void *unused)
{
static int ticks = 0;
@@ -40,7 +42,8 @@ void timer_tick(void *unused)
mowgli_eventloop_break(eventloop);
}
-int main(int argc, char *argv[])
+int
+main(int argc, char *argv[])
{
eventloop = mowgli_eventloop_create();