diff options
author | Andrew Shadura <andrew@shadura.me> | 2014-06-17 11:57:32 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2014-06-17 11:57:32 +0200 |
commit | d1e7e16224c881ee3093658fe4cbf14db244cec7 (patch) | |
tree | 8850e7a55b4b1589a7a08e2364e9c12dad31962c /src/examples/timertest/timertest.c | |
parent | 246fb6b81eef837f1269073255373bf0a3d5c27a (diff) |
Update to the latest upstream snapshot
Diffstat (limited to 'src/examples/timertest/timertest.c')
-rw-r--r-- | src/examples/timertest/timertest.c | 9 |
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(); |