From 4e78b33fa738c5fbdb58a56a197160bc733658e3 Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 15 Jun 2006 17:01:35 +0200 Subject: [PATCH] audiod: make signal handling functions static They are only used in audiod. This might change, but anyway. --- audiod.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audiod.c b/audiod.c index e2989469..e35c2ec7 100644 --- a/audiod.c +++ b/audiod.c @@ -872,7 +872,7 @@ static int audiod_get_socket(void) return fd; } -void signal_event_handler(struct task *t) +static void signal_event_handler(struct task *t) { struct signal_task *st = t->private_data; @@ -882,14 +882,14 @@ void signal_event_handler(struct task *t) handle_signal(st->signum); } -void signal_pre_select(struct sched *s, struct task *t) +static void signal_pre_select(struct sched *s, struct task *t) { struct signal_task *st = t->private_data; t->ret = 1; para_fd_set(st->fd, &s->rfds, &s->max_fileno); } -void signal_post_select(struct sched *s, struct task *t) +static void signal_post_select(struct sched *s, struct task *t) { struct signal_task *st = t->private_data; t->ret = 1; @@ -899,7 +899,7 @@ void signal_post_select(struct sched *s, struct task *t) st->signum = para_next_signal(); } -void signal_setup_default(struct signal_task *st) +static void signal_setup_default(struct signal_task *st) { st->task.pre_select = signal_pre_select; st->task.post_select = signal_post_select; -- 2.39.5