aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-06 04:36:44 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 13:41:02 -0500
commita1c9eea9e56a7196c6891f6426b799c4598b38e2 (patch)
tree30beda8a7c7f45e77f96d0a49008e84e227a7ae6
parentce88cc5ed80de746f5bd2d8242291c87e7b87f63 (diff)
proper prototype for signals_init()
Add a proper prototype for signals_init() in include/linux/signal.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/signal.h2
-rw-r--r--init/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 0ae338866240..7e095147656c 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -371,6 +371,8 @@ int unhandled_signal(struct task_struct *tsk, int sig);
371 (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \ 371 (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \
372 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL) 372 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
373 373
374void signals_init(void);
375
374#endif /* __KERNEL__ */ 376#endif /* __KERNEL__ */
375 377
376#endif /* _LINUX_SIGNAL_H */ 378#endif /* _LINUX_SIGNAL_H */
diff --git a/init/main.c b/init/main.c
index cb81ed116f62..c691f5f7fc27 100644
--- a/init/main.c
+++ b/init/main.c
@@ -57,6 +57,7 @@
57#include <linux/device.h> 57#include <linux/device.h>
58#include <linux/kthread.h> 58#include <linux/kthread.h>
59#include <linux/sched.h> 59#include <linux/sched.h>
60#include <linux/signal.h>
60 61
61#include <asm/io.h> 62#include <asm/io.h>
62#include <asm/bugs.h> 63#include <asm/bugs.h>
@@ -83,7 +84,6 @@ extern void init_IRQ(void);
83extern void fork_init(unsigned long); 84extern void fork_init(unsigned long);
84extern void mca_init(void); 85extern void mca_init(void);
85extern void sbus_init(void); 86extern void sbus_init(void);
86extern void signals_init(void);
87extern void pidhash_init(void); 87extern void pidhash_init(void);
88extern void pidmap_init(void); 88extern void pidmap_init(void);
89extern void prio_tree_init(void); 89extern void prio_tree_init(void);