diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-04-28 05:13:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:28 -0400 |
commit | 074a0db8e17ae271736148809c5f9d47dec2d993 (patch) | |
tree | 3aef3ea6d19bd5fe3859030decab60f39d8c3fb2 /arch/um/drivers/stdio_console.c | |
parent | 1605ec044300d0fd5d27fd0b6879ee14b104aebd (diff) |
uml: make several things static
Make several things static, because they no longer need to be global.
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/stdio_console.c')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index cec0c33cdd39..49266f6108c4 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | static struct tty_driver *console_driver; | 35 | static struct tty_driver *console_driver; |
36 | 36 | ||
37 | void stdio_announce(char *dev_name, int dev) | 37 | static void stdio_announce(char *dev_name, int dev) |
38 | { | 38 | { |
39 | printk(KERN_INFO "Virtual console %d assigned device '%s'\n", dev, | 39 | printk(KERN_INFO "Virtual console %d assigned device '%s'\n", dev, |
40 | dev_name); | 40 | dev_name); |
@@ -158,7 +158,7 @@ static struct console stdiocons = { | |||
158 | .index = -1, | 158 | .index = -1, |
159 | }; | 159 | }; |
160 | 160 | ||
161 | int stdio_init(void) | 161 | static int stdio_init(void) |
162 | { | 162 | { |
163 | char *new_title; | 163 | char *new_title; |
164 | 164 | ||