From: Andre Noll Date: Sun, 23 Sep 2007 18:29:56 +0000 (+0200) Subject: stdout.[ch]: Make two functions static. X-Git-Tag: v0.3.0~369 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=9594f50584246d48483abff3546b5cd3ed36fc35;p=paraslash.git stdout.[ch]: Make two functions static. --- diff --git a/stdout.c b/stdout.c index c6160791..f39de109 100644 --- a/stdout.c +++ b/stdout.c @@ -26,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; @@ -55,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; diff --git a/stdout.h b/stdout.h index 0d2ab2af..f69a024b 100644 --- a/stdout.h +++ b/stdout.h @@ -24,6 +24,4 @@ struct stdout_task { int check_fd; }; -void stdout_pre_select(struct sched *s, struct task *t); -void stdout_post_select(struct sched *s, struct task *t); void stdout_set_defaults(struct stdout_task *sot);