X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audioc.c;h=e50267fdfba290bf7ba39050afd5a388ced41ff0;hb=227a2ce5446c3f2ef4fd3e7c2ada3bb8d15289f1;hp=ab7253f698946c44651325611141ec34ffeb66e1;hpb=33d9e48b9ebe11858e4fd208196c419b72db7f6d;p=paraslash.git diff --git a/audioc.c b/audioc.c index ab7253f6..e50267fd 100644 --- a/audioc.c +++ b/audioc.c @@ -121,9 +121,9 @@ static struct i9e_completer audiod_completers[] = { {.name = NULL} }; -static void audioc_pre_select(struct sched *s, struct task *t) +static void audioc_pre_select(struct sched *s, void *context) { - struct audioc_task *at = task_context(t); + struct audioc_task *at = context; int ret = btr_node_status(at->btrn, 0, BTR_NT_ROOT); if (ret < 0) @@ -131,10 +131,10 @@ static void audioc_pre_select(struct sched *s, struct task *t) para_fd_set(at->fd, &s->rfds, &s->max_fileno); } -static int audioc_post_select(struct sched *s, struct task *t) +static int audioc_post_select(struct sched *s, void *context) { char *buf = NULL; - struct audioc_task *at = task_context(t); + struct audioc_task *at = context; int ret = btr_node_status(at->btrn, 0, BTR_NT_ROOT); if (ret < 0)