From: Adrian Bunk This patch makes the needlessly global _proc_do_string() static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- kernel/sysctl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN kernel/sysctl.c~make-kernel-sysctlc_proc_do_string-static kernel/sysctl.c --- a/kernel/sysctl.c~make-kernel-sysctlc_proc_do_string-static +++ a/kernel/sysctl.c @@ -1635,8 +1635,9 @@ static ssize_t proc_writesys(struct file 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; _