From: Adrian Bunk This patch makes the needlessly global store_utf8() static. Signed-off-by: Adrian Bunk Cc: Jan Engelhardt Cc: Alexander E. Patrakov Cc: Dmitry Torokhov Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/char/selection.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/selection.c~kernel-utf-8-handling-fix drivers/char/selection.c --- a/drivers/char/selection.c~kernel-utf-8-handling-fix +++ a/drivers/char/selection.c @@ -112,7 +112,7 @@ static inline unsigned short limit(const } /* stores the char in UTF8 and returns the number of bytes used (1-3) */ -int store_utf8(u16 c, char *p) +static int store_utf8(u16 c, char *p) { if (c < 0x80) { /* 0******* */ _