Reverse christmas tree and simplify a bit

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-04-06 12:45:29 +02:00
1 parent d4096c8c0c
commit 2a709f739d
9 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -23,9 +23,9 @@ static void cb(uev_t *w, void *arg, int events)
int main(void)
{
int rc;
uev_t w;
uev_ctx_t ctx;
uev_t w;
int rc;
uev_init(&ctx);
uev_timer_init(&ctx, &w, cb, NULL, TIMEOUT * 1000, 0);