From: Andre Noll Date: Sun, 23 Sep 2007 18:28:25 +0000 (+0200) Subject: stdin.[ch]: Make two functions static. X-Git-Tag: v0.3.0~370 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=f8b73704e27c5b5fad77cfddd06951dabcc6bf56;ds=sidebyside stdin.[ch]: Make two functions static. --- diff --git a/stdin.c b/stdin.c index bb922dd1..4b7a962d 100644 --- a/stdin.c +++ b/stdin.c @@ -28,7 +28,7 @@ * buffer of the stdin task, it adds \p STDIN_FILENO to the read fd set * of \a s. */ -void stdin_pre_select(struct sched *s, struct task *t) +static void stdin_pre_select(struct sched *s, struct task *t) { struct stdin_task *sit = t->private_data; t->ret = 1; @@ -56,7 +56,7 @@ static void stdin_default_event_handler(struct task *t) * appeears to be readable, data is read from stdin into the buffer of the * stdin task. */ -void stdin_post_select(struct sched *s, struct task *t) +static void stdin_post_select(struct sched *s, struct task *t) { struct stdin_task *sit = t->private_data; ssize_t ret; diff --git a/stdin.h b/stdin.h index e1295927..6931f330 100644 --- a/stdin.h +++ b/stdin.h @@ -24,6 +24,4 @@ struct stdin_task { int eof; }; -void stdin_pre_select(struct sched *s, struct task *t); -void stdin_post_select(struct sched *s, struct task *t); void stdin_set_defaults(struct stdin_task *sit);