X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.c;h=b3f103e97d4ae1c5e1f84c6fe2de8bb1bac70df3;hp=440778407b3c8388e278a0cd79f505fe016c28ce;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=ba0c0797c76a2c94cb4a9f6938274fea5ba0226f diff --git a/write.c b/write.c index 44077840..b3f103e9 100644 --- a/write.c +++ b/write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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); }