diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-04-28 05:13:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:28 -0400 |
commit | 1605ec044300d0fd5d27fd0b6879ee14b104aebd (patch) | |
tree | ffb1944ae6508d7aa954c9d46548b3e9aafee3b6 /arch/um/drivers/port_user.c | |
parent | 02d324b15dfa31b3b1025fb5abda08a8ee23ce84 (diff) |
uml: make three functions static
Make the following three functions static, since they don't need to be global.
arch/um/drivers/mcast_kern.c::mcast_setup()
arch/um/drivers/mconsole_user.c::mconsole_reply_v0()
arch/um/drivers/port_user.c::port_pre_exec()
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/port_user.c')
-rw-r--r-- | arch/um/drivers/port_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c index addd75902656..d269ca387f10 100644 --- a/arch/um/drivers/port_user.c +++ b/arch/um/drivers/port_user.c | |||
@@ -153,7 +153,7 @@ struct port_pre_exec_data { | |||
153 | int pipe_fd; | 153 | int pipe_fd; |
154 | }; | 154 | }; |
155 | 155 | ||
156 | void port_pre_exec(void *arg) | 156 | static void port_pre_exec(void *arg) |
157 | { | 157 | { |
158 | struct port_pre_exec_data *data = arg; | 158 | struct port_pre_exec_data *data = arg; |
159 | 159 | ||