commit | 80d9ef8d40b2aa35c4a3483f5cf3549215187a7c | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Nov 20 21:20:32 2014 +0900 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 11 13:18:41 2014 -0700 |
tree | 15663071cb0f6fc98f997053ee36f676d548fe4f | |
parent | 9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326 [diff] |
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>