From f8b73704e27c5b5fad77cfddd06951dabcc6bf56 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 23 Sep 2007 20:28:25 +0200 Subject: [PATCH] stdin.[ch]: Make two functions static. --- stdin.c | 4 ++-- stdin.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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); -- 2.39.2