]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lib: string: move strlcpy() to a common place
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 20 Nov 2014 12:20:32 +0000 (21:20 +0900)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:41 +0000 (13:18 -0700)
commit80d9ef8d40b2aa35c4a3483f5cf3549215187a7c
tree15663071cb0f6fc98f997053ee36f676d548fe4f
parent9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326
lib: string: move strlcpy() to a common place

Move strlcpy() definition from drivers/usb/gadget/ether.c to
lib/string.c because it is a very useful function.
Let's add the prototype to include/linux/string.h too.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/usb/gadget/ether.c
include/linux/string.h
lib/string.c