Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1ba4ddd authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[PATCH] make kernel/sysctl.c:_proc_do_string() static



This patch makes the needlessly global _proc_do_string() static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f5dd3d6f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;