X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=bda0ad4cb7189fec9311c1cdfb9896e3fe9b7598;hp=d8b571b68d2865b261646a5276dc1d08471c5b61;hb=1e012cf40238883621692051a22fb9c7cad5e944;hpb=37c49eac5be8587bcbf2257553e28d2ee8628e14 diff --git a/oss_write.c b/oss_write.c index d8b571b6..bda0ad4c 100644 --- a/oss_write.c +++ b/oss_write.c @@ -6,10 +6,12 @@ /** \file oss_write.c Paraslash's oss output plugin. */ +#include #include #include #include #include +#include #include "para.h" #include "fd.h" @@ -17,6 +19,7 @@ #include "list.h" #include "sched.h" #include "ggo.h" +#include "buffer_tree.h" #include "write.h" #include "oss_write.cmdline.h" #include "error.h" @@ -52,8 +55,8 @@ static int oss_pre_select(struct sched *s, struct writer_node *wn) para_fd_set(powd->fd, &s->wfds, &s->max_fileno); return 1; } -static int oss_post_select(__a_unused struct sched *s, - struct writer_node *wn) + +static int oss_post_select(struct sched *s, struct writer_node *wn) { int ret; struct private_oss_write_data *powd = wn->private_data;