X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.c;h=f39de1090c146acd8f10578b18d637e137a4379a;hp=84f2f7cacd3935fd1f60245ff171cbd9f986607d;hb=4df56926d10669ec120510957d3aa3fddb16e3c6;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf;ds=sidebyside diff --git a/stdout.c b/stdout.c index 84f2f7ca..f39de109 100644 --- a/stdout.c +++ b/stdout.c @@ -6,6 +6,9 @@ /** \file stdout.c functions that deal with writing to stdout */ +#include /* readdir() */ +#include + #include "para.h" #include "string.h" #include "list.h" @@ -23,7 +26,7 @@ * This function is always successful. If there is data available in the input * buffer, it adds \p STDOUT_FILENO to the write fd set of \a s. */ -void stdout_pre_select(struct sched *s, struct task *t) +static void stdout_pre_select(struct sched *s, struct task *t) { struct stdout_task *sot = t->private_data; @@ -52,7 +55,7 @@ void stdout_pre_select(struct sched *s, struct task *t) * appeears to be writable, the data loaded in the input buffer is written to * stdout. */ -void stdout_post_select(struct sched *s, struct task *t) +static void stdout_post_select(struct sched *s, struct task *t) { struct stdout_task *sot = t->private_data; ssize_t ret;