diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-10-02 05:18:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:20 -0400 |
commit | b1ba4ddde0cf67991d89f039365eaaeda61aa027 (patch) | |
tree | fe5b2ea0eb589014542b05c7a68b46131097e961 /kernel/sysctl.c | |
parent | f5dd3d6fadf98a53b35d20427ca198fda42f1251 (diff) |
[PATCH] make kernel/sysctl.c:_proc_do_string() static
This patch makes the needlessly global _proc_do_string() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8b5f4bb8ad2f..8f3f00d5ee52 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1624,8 +1624,9 @@ static ssize_t proc_writesys(struct file * file, const char __user * buf, | |||
1624 | return do_rw_proc(1, file, (char __user *) buf, count, ppos); | 1624 | return do_rw_proc(1, file, (char __user *) buf, count, ppos); |
1625 | } | 1625 | } |
1626 | 1626 | ||
1627 | int _proc_do_string(void* data, int maxlen, int write, struct file *filp, | 1627 | static int _proc_do_string(void* data, int maxlen, int write, |
1628 | void __user *buffer, size_t *lenp, loff_t *ppos) | 1628 | struct file *filp, void __user *buffer, |
1629 | size_t *lenp, loff_t *ppos) | ||
1629 | { | 1630 | { |
1630 | size_t len; | 1631 | size_t len; |
1631 | char __user *p; | 1632 | char __user *p; |