diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-26 12:39:23 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-26 12:39:23 +0200 |
commit | 8315f972b3cecb60cbd5879146c737f3f8d7a841 (patch) | |
tree | 2c593b1e3dd36fcc6803baa45039a4623f13b582 /minecproxy/ptimer.c | |
parent | 06a2edfc72a894054ed710d338504242f15d6071 (diff) |
Update list.h to latest kernel version
Diffstat (limited to 'minecproxy/ptimer.c')
-rw-r--r-- | minecproxy/ptimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minecproxy/ptimer.c b/minecproxy/ptimer.c index 5f9cf5d..845fbfa 100644 --- a/minecproxy/ptimer.c +++ b/minecproxy/ptimer.c @@ -214,7 +214,7 @@ ptimer_init() ptimer->task_count = 0; ptimer->previous_time = time(NULL); - list_init(&ptimer->ptasks); + INIT_LIST_HEAD(&ptimer->ptasks); uring_task_init(&ptimer->task, "ptimer", uring_parent(), ptimer_free); uring_task_set_fd(&ptimer->task, tfd); cfg->ptimer = ptimer; |