Messages in this thread Patch in this message | | | Date | Fri, 23 Jun 2006 12:55:49 +0200 | From | Adrian Bunk <> | Subject | [-mm 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>
--- linux-2.6.17-mm1-full/kernel/sysctl.c.old 2006-06-22 20:50:08.000000000 +0200 +++ linux-2.6.17-mm1-full/kernel/sysctl.c 2006-06-22 20:50:39.000000000 +0200 @@ -1706,8 +1706,9 @@ 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |