commit | 0588ce17291a246fea2bef81a1cb26ef9629d0da | [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 | 57ec40210235a4581a294dd70de76c031c4d6562 [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>