From: Andre Date: Thu, 15 Jun 2006 15:01:35 +0000 (+0200) Subject: audiod: make signal handling functions static X-Git-Tag: v0.2.14~60^2~15 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=4e78b33fa738c5fbdb58a56a197160bc733658e3;p=paraslash.git audiod: make signal handling functions static They are only used in audiod. This might change, but anyway. --- 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;