X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.c;h=eaf56f413412bbd6420767d59803bda7ab0bcb71;hp=440778407b3c8388e278a0cd79f505fe016c28ce;hb=879e52d49df6d00aa9eafe5cccb48bbd24ed4c81;hpb=57a04f35f4e97d5f63079620dab3493832a851af diff --git a/write.c b/write.c index 44077840..eaf56f41 100644 --- a/write.c +++ b/write.c @@ -75,15 +75,15 @@ struct write_task { struct check_wav_context *cwc; }; -static void write_pre_select(struct sched *s, struct task *t) +static void write_pre_select(struct sched *s, void *context) { - struct write_task *wt = task_context(t); + struct write_task *wt = context; check_wav_pre_select(s, wt->cwc); } -static int write_post_select(__a_unused struct sched *s, struct task *t) +static int write_post_select(__a_unused struct sched *s, void *context) { - struct write_task *wt = task_context(t); + struct write_task *wt = context; return check_wav_post_select(wt->cwc); }