projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5dd3d6
)
[PATCH] make kernel/sysctl.c:_proc_do_string() static
author
Adrian Bunk
<bunk@stusta.de>
Mon, 2 Oct 2006 09:18:05 +0000
(
02:18
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:20 +0000
(07:57 -0700)
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>
kernel/sysctl.c
patch
|
blob
|
history
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index 8b5f4bb8ad2f305cc34d2fa45f02c2f71a45402a..8f3f00d5ee52fc89b0582e2a4b8414b00316975e 100644
(file)
--- a/
kernel/sysctl.c
+++ b/
kernel/sysctl.c
@@
-1624,8
+1624,9
@@
static ssize_t proc_writesys(struct file * file, const char __user * buf,
return do_rw_proc(1, file, (char __user *) buf, count, ppos);
}
-int _proc_do_string(void* data, int maxlen, int write, struct file *filp,
- void __user *buffer, size_t *lenp, loff_t *ppos)
+static int _proc_do_string(void* data, int maxlen, int write,
+ struct file *filp, void __user *buffer,
+ size_t *lenp, loff_t *ppos)
{
size_t len;
char __user *p;