diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-01 15:55:23 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-01 15:55:23 +0200 |
commit | 961671c0f51693aff34bf3adf5319b35275a86d3 (patch) | |
tree | 1eae258f41d0dc67abdc45da6bc16f253a4f23dc /nest/locks.c | |
parent | 0db7a1d69c80b1089f10a268ceacb059db41ced8 (diff) |
Lib: Add and use ev_new_init()
Diffstat (limited to 'nest/locks.c')
-rw-r--r-- | nest/locks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/locks.c b/nest/locks.c index 86c9ff14..812a6534 100644 --- a/nest/locks.c +++ b/nest/locks.c @@ -191,6 +191,5 @@ olock_init(void) { DBG("olock: init\n"); init_list(&olock_list); - olock_event = ev_new(&root_pool); - olock_event->hook = olock_run_event; + olock_event = ev_new_init(&root_pool, olock_run_event, NULL); } |